Skip to content
This repository has been archived by the owner on Jul 19, 2019. It is now read-only.

How to disable options if already selected #391

Open
parwinderD4D opened this issue Apr 26, 2019 · 2 comments
Open

How to disable options if already selected #391

parwinderD4D opened this issue Apr 26, 2019 · 2 comments

Comments

@parwinderD4D
Copy link

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

@alexyapp
Copy link

alexyapp commented May 4, 2019

Have you tried using the shouldItemRender prop?

@parwinderD4D
Copy link
Author

No, could you please send me example code of this.... how i can use it..

Thanks

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

No branches or pull requests

2 participants