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

Add phx-debounce #4

josevalim opened this issue Dec 6, 2018 · 1 comment

Add phx-debounce #4

josevalim opened this issue Dec 6, 2018 · 1 comment


Copy link

@josevalim josevalim commented Dec 6, 2018

We should also remove the default throttling we have onkeypress.

aforward pushed a commit to aforward-oss/phoenix_live_view that referenced this issue Mar 16, 2019
@chrismccord chrismccord self-assigned this Mar 26, 2019
@chrismccord chrismccord changed the title Add phx-throttle and phx-debounce Add phx-debounce Mar 26, 2019
@josevalim josevalim removed the v0.1 label Mar 28, 2019
Copy link

@kuon kuon commented Jun 19, 2019

This will be a form_for option that will trigger phx-change only on input blur?

Because it is currently a problem for me, I have a large form with hundred of fields and while validate takes less than a second, it is too long to be called on each keypress and it makes the keypresses laggy (and creates a race condition between the user input and the server update which overrides the form).

If there is anything I can do to help, I'll happily dive in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

3 participants