why you not validation in controller without Spy ? On Sunday, August 28, 2016 at 2:07:50 PM UTC-3, Anjum Naseer wrote: > > Hi, > > I have a form that has an *input* element of *type*="*number*". When I > use a spy to inspect the *ngModel* it does not seem to care about the > *min*/*max* attributes that I have set on this element. > > I have captured the problem here: Plunker > <https://plnkr.co/edit/IsEXpDBhV0DSdnaKHk6Z?p=preview> > > I thought that *ngModelSpy*.*valid* would respect these attributes - have > I misunderstood the behaviour? >
-- 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
