oh :) yeap, blushing very deeply now... thanks :)
On Tue, Apr 8, 2014 at 4:49 PM, Guilherme Meireles <[email protected]>wrote: > I think that's because the fields are required, no? So if any one of them > is not set the form is considered invalid. > > >> On Tuesday, April 8, 2014 10:42:59 AM UTC-3, Yonatan Kra wrote: >> > Over-excitement... I'm still getting it wrong though... >> In both our plunkr's it starts false (even though it's supposed to be >> true, since debugging in the if statement shows it is validated as true). >> In addition, changing the select changes nothing in our state, even >> though it passes in the "true" part of the if statement. >> Looking at c.$valid or c.$invalid show as correct when playing with the >> select box (again, during debugging). >> Even though the value of the $valid is true and the $invalid is false, >> only after typing anything in the text box, it changes the value of the >> validity in the view. >> So there's still a bug - or I'm missing something fundamental. >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "AngularJS" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/angular/i98bPzxMQiQ/unsubscribe. > To unsubscribe from this group and all its topics, 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. > -- 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.
