Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editable textfield #10

Open
prooshani opened this issue Jul 17, 2021 · 1 comment
Open

Editable textfield #10

prooshani opened this issue Jul 17, 2021 · 1 comment

Comments

@prooshani
Copy link

I am using this package to help users input some fields faster and easier by providing some suggestions through the dropdown menu using select-form-field.
But, I don't know if there is a way to make these dropdown's items editable for user.
For example, I have 5 items such as Motor, Car, Truck, Train and Airplane as the suggestion for travel type, while the user need to enter Boat! What should be done to make this SelectFormField editable for regular text input through keyboard?!
I have tried readOnly parameter with no luck.

I would appreciate it if anybody provide more information regarding this issue

Thanks

@hslbetto
Copy link
Member

Hi, sorry, but its not posssible to edit options in text field.
The readOnly param is just to set if the widget will show options when the user tap the field.
A solution for this issue is offer a option "other" and when the user select this you change the field to a simple textField widget and than ask for the answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants