Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slot props produce no-undef error on <slot> #201

Open
janosh opened this issue Mar 2, 2023 · 0 comments
Open

Slot props produce no-undef error on <slot> #201

janosh opened this issue Mar 2, 2023 · 0 comments

Comments

@janosh
Copy link

janosh commented Mar 2, 2023

#109 was opened for <svelte:fragment>. The same problem occurs with <slot />:

Screenshot 2023-03-02 at 10 11 18

    <Select
      options={actions}
      bind:input
      placeholder="Go to..."
      on:add={move}
      on:keydown={toggle}
    >
      <!-- wait for https://github.com/sveltejs/svelte/pull/8304 -->
      <slot slot="option" name="option" let:option>
        <span>{option.label}</span>
      </slot>
    </Select>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant