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
<script>importSelectfrom'svelte-select@3.17.0';constcomplexItems=[{value: 'chocolate',label: 'Chocolate',group: 'Sweet'},{value: 'pizza',label: 'Pizza',group: 'Savory'},{value: 'cake',label: 'Cake',group: 'Sweet'},{value: 'chips',label: 'Chips',group: 'Savory'},{value: 'ice-cream',label: 'Ice Cream',group: 'Sweet'}];letselectedValue;
$: console.log(selectedValue);</script><h2>
These <code>bind:selectedValue</code> on the same variable.<br><br>
Any <code><Select></code> which is not multi hangs on selection (if at least one is multi).
</h2><h2>Multi</h2><em>This works…</em><Selectbind:selectedValueitems={complexItems}isMulti={true}></Select><h2>Single</h2><em>…but this hangs/loops infinitely on selection</em><Selectbind:selectedValueitems={complexItems}></Select>
When I use
bind:selectedValue
withloadOptions
, svelte-select freezes my entire application. It seems to loop infinitely.→ REPL
The text was updated successfully, but these errors were encountered: