-
Notifications
You must be signed in to change notification settings - Fork 32
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
Can selectedItems be repopulated by state variables after the component is mounted? #22
Comments
Yes you can, check this #14 |
@BukhariMuslim Sorry, can the prop Can it be changed by state variable after it has been initialised? Let's say my items list is [A, B, C, D], selectedItems firstly passed in is [A, B] which points to state variable initSelectedList [A, B]. There are two chips rendering on screen. If I change initSelectedList to [A, B, C] by a button click, it doesn't seem like C is added to the chips. |
This feature is currently rollback, regardless to this comment. |
Great, thanks @BukhariMuslim , FYI @adamgins |
Hi, thanks for this nice component! I also had the problem mentioned above, my workaround for the moment is the following:
|
No description provided.
The text was updated successfully, but these errors were encountered: