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

list-field with no duplicates allowed? #126

Open
joemienko opened this issue Jul 7, 2019 · 1 comment
Open

list-field with no duplicates allowed? #126

joemienko opened this issue Jul 7, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@joemienko
Copy link

Is it possible to easily prevent the entry of duplicates in a list-field?

For example, a list could contain {dog, cat, fish}...

But not {dog, dog, cat, fish}.

Thanks, for any help you can provide, and thanks for an awesome library!

@redgeoff redgeoff added the enhancement New feature or request label Jul 7, 2019
@redgeoff
Copy link
Owner

redgeoff commented Jul 7, 2019

Yeah, this is a nice feature and I've wanted to add it. For now, if you are looking to implement this for just a list of strings then you can use the SelectField with the multiple property set to true.

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

No branches or pull requests

2 participants