Skip to content
This repository has been archived by the owner on Dec 23, 2022. It is now read-only.

React autosuggest example : allowDuplicates not working ? #231

Closed
nicolas-saubi opened this issue Sep 14, 2018 · 2 comments
Closed

React autosuggest example : allowDuplicates not working ? #231

nicolas-saubi opened this issue Sep 14, 2018 · 2 comments

Comments

@nicolas-saubi
Copy link

nicolas-saubi commented Sep 14, 2018

Hi,

in the react autosuggest examples, the allowDuplicates is not set (so it defaults to false). Nevertheless, the input accepts many times the same value. Is it normal ? How to prevent this ? I bet we have to implement it ourself in the handleAddChip method from Autosuggest ?

Thanks

@leMaik
Copy link
Member

leMaik commented Oct 8, 2018

I bet we have to implement it ourself in the handleAddChip method from Autosuggest ?

Uhm… Maybe. If you find a fix, I'd love to see a PR that fixes it. 👍

@leMaik
Copy link
Member

leMaik commented Mar 26, 2019

You are right; you have to implement this yourself. I'll update the example.

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

No branches or pull requests

2 participants