-
Hey, I am relatively new to web development and svelte. I was wondering if there's an alternative to variable selected for bind:selected. This is because I wanted to have multiple multiselect for my project, but seems like no other variable name works? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
ps: I am extremely sorry if I'm being ignorant to something in the docs about this, I tried searching and using different ways to test other variables. |
Beta Was this translation helpful? Give feedback.
-
Use |
Beta Was this translation helpful? Give feedback.
Use
<Multiselect bind:selected={myArray} />
to assign to a different name in the parent scope.