We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi there!
I posted on this issue before in Slack 😄
In fact, I have a input type="date" that (as we know) has strange "onchange" behaviors.
My idea was to submit the field onblur, but this is not available. Is there a reason for doing so?
ux/src/LiveComponent/assets/src/Directive/get_model_binding.ts
Lines 24 to 27 in 9209d86
The text was updated successfully, but these errors were encountered:
The problem is that "blur" does not imply any change, and would probably be triggered too late in many cases..
Also, this is a browser "bug" in the end... and i'm not sure we want to try going against it ... :/
But, by setting a small debounce, the experience looks to me already much better!
What do you think ?
If this does not match what you want, you also can set a norender on change, and trigger the event manually from some custom JS script / Stimulus controller (see: https://symfony.com/bundles/ux-live-component/current/index.html#model-updates-don-t-work-when-external-javascript-changes-a-field)
Sorry, something went wrong.
No branches or pull requests
Hi there!
I posted on this issue before in Slack 😄
In fact, I have a input type="date" that (as we know) has strange "onchange" behaviors.
My idea was to submit the field onblur, but this is not available. Is there a reason for doing so?
ux/src/LiveComponent/assets/src/Directive/get_model_binding.ts
Lines 24 to 27 in 9209d86
The text was updated successfully, but these errors were encountered: