Hi Adam
You are using AngularJS 1.2.16 in your plunker, but the ngModelOptions
directive is only available in the latest snapshot versions of AngularJS
(not even in the latest unstable version 1.3.0-beta.5).
Regards
Philipp
On Saturday, April 12, 2014 10:19:55 PM UTC+2, Adam St. John wrote:
>
> Hi there,
>
> I have an issue when using ng-model-options with a dynamic form field
> (nested angular form - ngform). I add the element on button press which is
> bound to a directive with a template. Within the template, I am trying to
> use ng-model-options="{updateOn: 'blur'}" so that my validations are not
> show immediately when the new element is added to the page. However,
> angular does not seem to be obeying this directive or I am using it
> incorrectly.
>
> Please see this plunker <http://plnkr.co/edit/Hk1rsbngpcJAVGeAId6K?p=info>
> .
>
> I expect when add is clicked, that the field will be added to the page
> without any errors shown until blur. Instead, the error is shown
> immediately.
>
> Any help would be appreciated.
>
> Thanks!
>
> Adam
>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.