Closed rmotitsuki closed 1 year ago
In the Select component, when the user selects multiple items, the event trigger fills the selected variable multiple times, creating a huge array. This PR corrects this behavior and populates the selected variable with only selected items.
@rmotitsuki the issue https://github.com/kytos-ng/ui/issues/34 seems to be related to this PR. I tested without the changes proposed here and it worked.
In the Select component, when the user selects multiple items, the event trigger fills the selected variable multiple times, creating a huge array. This PR corrects this behavior and populates the selected variable with only selected items.