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 think I might be running into a bug with slots but I can't reliably reproduce outside SvelteKit.
The change in question that seems to cause the error is adding a default slot as a fallback inside a named slot (see changes). The error seems to stem from a let: directive to pass an option prop to the default prop.
ReferenceError: option is not defined
at eval (/home/projects/github-qcxbgh/src/lib/MultiSelect.svelte:556:31)
at Object.$$render (/home/projects/github-qcxbgh/node_modules/svelte/internal/index.mjs:2040:22)
@dummdidumm I know it's a lot to ask but maybe you could take a quick lock at this stackblitz. Not sure how to further debug.
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I think I might be running into a bug with slots but I can't reliably reproduce outside SvelteKit.
The change in question that seems to cause the error is adding a default slot as a fallback inside a named slot (see changes). The error seems to stem from a
let:
directive to pass anoption
prop to the default prop.@dummdidumm I know it's a lot to ask but maybe you could take a quick lock at this stackblitz. Not sure how to further debug.
Beta Was this translation helpful? Give feedback.
All reactions