react-autocomplete
react-autocomplete copied to clipboard
How to disable options if already selected
Hi Team,,
I am using this package and i want to disable all those option which are already selected.... I have two array 1st contain list of all countries and 2nd one contain list of those country which are selected by user.
Now i have to disable all those counties which are in 2nd array..
could you please help to fix this problem....
Thanks
Have you tried using the shouldItemRender prop?
No, could you please send me example code of this.... how i can use it..
Thanks