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
[svelte] ownership_invalid_mutation node_modules/.pnpm/svelecte@5.0.0-next.4_svelte@5.0.0-
next.135/node_modules/svelecte/dist/Svelecte.svelte mutated a value owned by ...FormSelectBuilder.svelte.
This is strongly discouraged. Consider passing values to child components with `bind:`, or use a callback instead
Demo
I have a component that can build options passed to Svelecte.
Error
Demo
I have a component that can build options passed to Svelecte.
Sample code
Problem
It seems that as soon as I select an item in Svelecte (FormSelect), Svelecte mutates the
field.choices[i]
I have selected.I believe this happens because it sets
$selected: true
to that option.The text was updated successfully, but these errors were encountered: