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

Allow custom user value #722

Open
voulgarakis opened this issue Oct 11, 2023 · 2 comments
Open

Allow custom user value #722

voulgarakis opened this issue Oct 11, 2023 · 2 comments

Comments

@voulgarakis
Copy link

voulgarakis commented Oct 11, 2023

Is it possible to allow the users to enter their own value in a searchable dropdown, even if the value they entered is not included in the dropdown's list and then selct it as dropdown's value?

@voulgarakis voulgarakis changed the title Allow own user value Allow custom user value Oct 13, 2023
@shivardev
Copy link

I want this feature as well, did you get any leads regarding this? @voulgarakis

@voulgarakis
Copy link
Author

Hi,

I hack it like this:

addCustomItem={true}

and change the placeholder when the user presses the item him entered
placeholder={
materials[index].description == ''
? I18n.t('material')
: materials[index].description
}

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