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
[ ] bug report => search github for a similar issue or PR before submitting
[x ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
Current behavior
Inputs are validated instant with a focus/blur event, even Google itself (GMail, all apps), they validate after the first submit. Then it's cool. NG1 i think i was able to override but NG4.1 is not giving any docs about it.
But the default behavior of Angular is that even if i do nothing, it validates, So i just focus or blur an input, it valdiates and shows an error, i think for users it is weird.
Set the validation, like after submit. Right now, nothing in the about. Very complex do it a simple validation, which I try to a lot of forms.
Minimal reproduction of the problem with instructions
It is a default Angular validation.
What is the motivation / use case for changing the behavior?
To trigger validation after onsbumit, and keep the form if we didn't do anything just blur, focus.
Please tell us about your environment:
linux, win
Angular version: 2.0.X
4.1
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Activity
kara commentedon Aug 12, 2017
@ghost It sounds like you are looking for the "updateOn: submit" hook we just added in 5.0.0-beta.3. Check out the PR here for more info.
angular-automatic-lock-bot commentedon Sep 12, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.