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
Describe the bug
Value of <sl-select multiple> contains an empty string even when no such <sl-menu-item> was added or selected by a user. It stays there until the user clicks on the remove icon of one of the selected items.
To Reproduce
I prepared an example in Lit playground: example
Expected behavior <sl-select>.value should not contain an empty string unless there is <sl-menu-item value=""> which was selected by a user.
Desktop (please complete the following information):
OS: Windows 10
Browser chrome
Version 91.0.4472.77
The text was updated successfully, but these errors were encountered:
Describe the bug
Value of
<sl-select multiple>
contains an empty string even when no such<sl-menu-item>
was added or selected by a user. It stays there until the user clicks on the remove icon of one of the selected items.To Reproduce
I prepared an example in Lit playground: example
Expected behavior
<sl-select>.value
should not contain an empty string unless there is<sl-menu-item value="">
which was selected by a user.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: