You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
It would be nice to be able to tell from the form whether a field is blurred or focused.
Use case: I want to access and process a user's information as they type it, but I don't want to display an error to the user unless form.someValue.$blurred is true. Asking the model options to updateOn: 'blur' would prevent me from accessing someValue until the field is blurred.
I am aware this can be accomplished from a custom directive, but am hoping this is a useful enough feature for others to garner their interest.
The text was updated successfully, but these errors were encountered:
"Blurred" is already available as $touched. As for focus, I think we didn't want to burden the core with this, as it's not difficult to implement via custom directive and it's not super frequently needed feature.
It would be nice to be able to tell from the form whether a field is blurred or focused.
Use case: I want to access and process a user's information as they type it, but I don't want to display an error to the user unless
form.someValue.$blurred
is true. Asking the model options toupdateOn: 'blur'
would prevent me from accessingsomeValue
until the field is blurred.I am aware this can be accomplished from a custom directive, but am hoping this is a useful enough feature for others to garner their interest.
The text was updated successfully, but these errors were encountered: