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
I'm still trying to get my submit on change setup working and struggling with a bunch of things. I'd appreciate any tips.
If I use default setup with allowUserOptions={true}, the new option tag appears properly with the label that was entered for it. However if I use my own <Tag slot="selected"> component for the selected slot, it creates as undefined. It all comes back to normal when I refresh the page, eg. selected data gets reloaded.
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
-
Hey,
I'm still trying to get my submit on change setup working and struggling with a bunch of things. I'd appreciate any tips.
If I use default setup with
allowUserOptions={true}
, the new option tag appears properly with the label that was entered for it. However if I use my own<Tag slot="selected">
component for theselected
slot, it creates asundefined
. It all comes back to normal when I refresh the page, eg.selected
data gets reloaded.Here's a video demo: https://share.cleanshot.com/tdtDMMzcRW7QmwhR7g4Y.
I'm confused as to why the
selected
binding is not invalidated?+page.svelte
that gets the data:CollectionSelect
that hostsMultiselect
Tag
that's used in theselected
slot:Beta Was this translation helpful? Give feedback.
All reactions