Janosh Riebesell
Janosh Riebesell
Goal is to fix type errors like this: 
> When I enter an item that isn't in the tags list, it gives me the option to add it as expected, however, it doesn't seem to update the list...
`await tick()` is what I tried originally (see https://github.com/janosh/svelte-multiselect/commit/c8f87660908f9f3335ed17b16d7c2c42c2a3eb79#diff-7d86c55b55f23806b2be4051d790e7c775fd5fa4e1ad3fc2da59eb51ce25c0e9L221) but it didn't work. Not sure why. If you have any clues, definitely interested to hear them.
Thanks, good suggestion. I'm pressed for time atm but if anyone wants to investigate, I'm happy to support.
@otprocta Thanks for reporting. Looks like something went wrong in the transition from v4 to v5. Just looked in the package folder at generated files. `MultiSelect.svelte` now has a weird...
Unfortunately these errors are hard to troubleshoot in the REPL due to lack of stack trace (outstanding issue https://github.com/sveltejs/sites/issues/173) and I can't reproduce locally.
@otprocta Small update: [this might be an issue with the Svelte REPL](https://github.com/sveltejs/sites/issues/354#issuecomment-1167586335) and not with MultiSelect. Follow https://github.com/sveltejs/sites/issues/354 for further developments.
Just noticed the latest version 7.0.2 of `svelte-multiselect` runs in the [Svelte REPL](https://svelte.dev/repl/a5a14b8f15d64cb083b567292480db05?version=3.52.0) successfully. All versions from 5.0.0 to 7.0.1 still error: > Unexpected token (Note that you need plugins...
@egdegauperaa To push directly to a repository, yes you would have to be added as a collaborator. The usual workflow in open source is to fork the repository, push your...
@davipon Good to know there's interest. For now, [wouldn't this](https://svelte.dev/repl/096d40c32f5c4f03b646184490dcb40c?version=3.48.0) be a simpler workaround for your use case? ```svelte import MultiSelect from 'svelte-multiselect' const myOptionArray = [`...`] let selected =...