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
array []
items An array of the initial selected values. By default this is populated from the original input element.
items: ["opt1"]
Does that mean it should be possible to initialize this from html, e.g. <select selected="foo"> where we have <option value="foo">Fooworthiness</option>
(I can't get that to work, it just seems to pick the stay with the first <option> in the list.)
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.
docs say
Does that mean it should be possible to initialize this from html, e.g.
<select selected="foo">where we have<option value="foo">Fooworthiness</option>(I can't get that to work, it just seems to pick the stay with the first
<option>in the list.)All reactions