-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
next: Select breaks when using transition on content #753
Comments
Hmm, I actually don't think this one is fully fixable with the It requires a child/children to register the values for each |
That would work for most cases, I have a few where items are visually grouped, so it’s nice to be able to provide a top level content child, could the components just accept a items/options prop with an array of label/value to be used? |
Yep! That's exactly what I'm implementing now 😃 |
Describe the bug
When using a transition on the select content, the select is no longer part of the form after a selection is made.
Reproduction. (you made need to npm install --force)
The page has 3 selects,
The first has no transition, select a value and hit submit, the form values will display and log to the console.
The second has a transition with the {#snippet child({...})} Pattern, select a value and it will be removed from the form values.
The third has a global transition, select a value and it will be removed from the form values.
Reproduction
https://stackblitz.com/edit/github-shpwk7-zlxesb?file=src%2Froutes%2F%2Bpage.svelte
Logs
No response
System Info
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: