2
Ich kann nicht auf $ gültig eines Formularelements zugreifen.
<body ng-controller="MainCtrl">
testForm: {{testForm.testmail.$valid}} <!-- NOTHING APPEARS HERE -->
<form name="testForm">
<input type="email" name="testmail">
</form>
</body>
Plunker: https://plnkr.co/edit/tqVEFohBFBxkkD7WPLTt?p=info
Vielen Dank! Es funktioniert jetzt –
fügen Sie das hinzu {{testForm.testmail. $ Valid && testForm.testmail. $ Dirty}} –