You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm trying to implement this component in one App, but I'm having a problem when I update the data.
I'm using two dropdowns the first one is a SelectList and the second one is a MultipleSelectList.
When the user selects a value in the first element the second element is populated through an API call, this is working well, the issue happens when the user selects data from the second element and then changes the selected option in the first element.
When this happens the information of the second dropdown is updated, but the selected data aren't cleared even if they don't appear in the newly populated data.
So, my question is, there is a way to programmatically clear the selected data in the MultiSelectList?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm trying to implement this component in one App, but I'm having a problem when I update the data.
I'm using two dropdowns the first one is a SelectList and the second one is a MultipleSelectList.
When the user selects a value in the first element the second element is populated through an API call, this is working well, the issue happens when the user selects data from the second element and then changes the selected option in the first element.
When this happens the information of the second dropdown is updated, but the selected data aren't cleared even if they don't appear in the newly populated data.
So, my question is, there is a way to programmatically clear the selected data in the MultiSelectList?
Beta Was this translation helpful? Give feedback.
All reactions