-
Notifications
You must be signed in to change notification settings - Fork 27.4k
add validateOn to ng-model-options to make the $parsers run even when updates are pending #7016
Comments
Waiting for new validator pipeline to be merged before tackling this one. |
@petebacondarwin I've rebased this with the new validator pipeline change, but I think it needs to wait until #7836 is resolved |
+1 |
I'm not a fan of this because it only adds more options and states without clear benefits. |
Can you provide some strong use-cases that are not possible to implement in Angular 1.3 today? |
@IgorMinar I've discussed this with @petebacondarwin a couple of months ago and we both agreed that we don't see a very strong use case for this. I don't mind closing this and wait to see if someone asks for something similar in the future. |
A use case that would be handled easily with http://plnkr.co/6vRyCd94k36B6EDXPcmr By using Unfortunately it also means that it is not possible to easily provide validation feedback to the user. Adding |
i had the same use case as @levic so i made two decorators to enable this functionality |
+1 |
On many cases it makes sense to have something like
{updateOn: 'blur', validateOn: 'default'}
. If this sounds reasonable to you I can have this PR ready this week. @petebacondarwin @lrlopez @IgorMinar - what do you think about this?The text was updated successfully, but these errors were encountered: