-
Notifications
You must be signed in to change notification settings - Fork 44
Closed
Labels
🐛 bugSomething isn't workingSomething isn't working
Description
Version number
1.1.10
Description of the bug
When trying to change the selected
prop on the Suggestion
component to an empty array []
the component does not rerender.
Initial view - Input and Suggestion are bound to the same state variable and shows the same value

When changing to empty array in the input, the Suggestion component does not update/rerender.

Steps To Reproduce
- Add a Suggestion component and bind to å state
- Add an Input component and bind to same state
- Set Suggestion component to a default selected value (not empty), and make sure the input corresponds to the default selected value.
- Change the input value of the input value to empty.
Additional Information
No response
Metadata
Metadata
Assignees
Labels
🐛 bugSomething isn't workingSomething isn't working
Type
Projects
Status
✅ Done