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

Debounce should be ignored when using 'blur' or 'submit' #1898

Closed
Devqon opened this issue Nov 5, 2019 · 1 comment · Fixed by #1903
Closed

Debounce should be ignored when using 'blur' or 'submit' #1898

Devqon opened this issue Nov 5, 2019 · 1 comment · Fixed by #1903
Labels

Comments

@Devqon
Copy link
Contributor

Devqon commented Nov 5, 2019

Description
When setting modeloptions with debounce and updateOn is blur or submit, the model is not updated on blur and submit.

Minimal Reproduction
Set a default debounce on a field type, and set modelOptions to blur on a field. When typing into the field, and immediately clicking submit, the model isn't updated.

See: https://stackblitz.com/edit/ngx-formly-ui-bootstrap-qcvtrn

Your Environment

  • Angular version: 7.x
  • Formly version: 5.5.3
@Devqon Devqon added the bug label Nov 5, 2019
@Devqon Devqon changed the title Debounce should be ignored when using updateOn = blur or submit Debounce should be ignored when using 'blur' or 'submit' Nov 5, 2019
@aitboudad
Copy link
Member

This issue has been fixed and released as part of v5.5.4.

Please let us know, in case you are still encountering a similar issue/problem.
Thank you!

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

Successfully merging a pull request may close this issue.

2 participants