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

Order of bind:value and on:input in component property list affects value in input event listener. #6197

Closed
alecgregory opened this issue Apr 14, 2021 · 1 comment · Fixed by #6887
Labels

Comments

@alecgregory
Copy link

Describe the bug
Order of bind:value and on:input in component property list affects value in input event listener.

If this isn't a bug, I think the behavior should be clearly documented in the tutorial about bindings. I spent a long time troubleshooting before considering that the ordering of the properties might be the cause.

To Reproduce
https://svelte.dev/repl/ee05f3fd37ec4f9baac847cd0390d222?version=3.37.0

Expected behavior
Ordering of bind:value and on:input would not change the behavior of the input event handler

@Conduitry
Copy link
Member

This is the intended behavior - #2446 - Agreed that it could be better documented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants