-
Notifications
You must be signed in to change notification settings - Fork 183
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
Svelte 3.24.0 seems to have broken input value binding #157
Comments
Yikes that's nasty, thanks for the heads up @d0x2f . There's some delay with response due to covid situation, but catching up here, is a general fix forthcoming with svelte, or does this call into question our usage of $$props? |
Edit |
Thanks, let me try this out and look for other instances |
Thanks @bestguy, To your original question, I'm not too certain on what the behaviour of the proposed svelte PR will have in this case, I'm not familiar enough with the svelte code to tell. A svelte dev mentioned the relatively new $$restProps var, which is the same as $$props but omits any keys that are exported by the component. This seems like the right approach to me. |
Nice! that $$props omit stuff was a pain |
An update is moving to |
Hey @d0x2f , this should be corrected in [email protected], please update/close this issue if corrects for you. |
Thanks so much @bestguy, it works great. The REPL is fixed now as well. 🍻 |
With two input fields in the same component, changing one seems to clear the others.
See this REPL for an example: https://svelte.dev/repl/a3a78cc7744b4b4fb4a1b4a752e9a2d3?version=3.24.0
There are a couple of
<input>
related PRs included in svelte 3.24.0:The text was updated successfully, but these errors were encountered: