Skip to content

Do not use self-closing select tag #704

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

frederikhors
Copy link

Can we fix this for Svelte 5 usage?

[vite-plugin-svelte] node_modules/svelte-select@5.8.3/node_modules/svelte-select/Select.svelte:828:12 Self-closing HTML tags for non-void elements are ambiguous — use `<select ...></select>` rather than `<select ... />`
826:     {#if required && (!value || value.length === 0)}
827:         <slot name="required" {value}>
828:             <select class="required" required tabindex="-1" aria-hidden="true" />
                                                                                      ^
829:         </slot>
830:     {/if}

Can we fix this for Svelte 5 usage?

[vite-plugin-svelte] node_modules/svelte-select@5.8.3/node_modules/svelte-select/Select.svelte:828:12 Self-closing HTML tags for non-void elements are ambiguous — use `<select ...></select>` rather than `<select ... />`
826:     {#if required && (!value || value.length === 0)}
827:         <slot name="required" {value}>
828:             <select class="required" required tabindex="-1" aria-hidden="true" />
                                                                                      ^
829:         </slot>
830:     {/if}
```
Copy link

vercel bot commented Aug 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
svelte-select ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 24, 2024 0:31am

@rzasinets
Copy link

Are there any rumors, when to expect this pull to be published?

@frederikhors
Copy link
Author

frederikhors commented Sep 5, 2024

@rob-balfre can you please merge and release this please? It's very small... please.

@josdejong
Copy link
Contributor

I would love to see this PR merged.

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

Successfully merging this pull request may close these issues.

3 participants