-
-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ng-touched never applied #804
Comments
@tjvantoll i think this is related with the last comments of #526 |
sis0k0
added a commit
that referenced
this issue
Jun 8, 2017
sis0k0
added a commit
that referenced
this issue
Jun 9, 2017
nativescript-angular@3.1.0-2017-06-14-1686 and NativeScript/tests-app-ng#24 Errors:
Error fixed by #843:
Error with ngModel directive:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This was reported in a comment on https://www.nativescript.org/blog/requiring-form-fields-with-nativescript-and-angular#comment-3308236632 and I confirmed the behavior in a sample app.
Problem: The
ng-touched
class name is never applied in NativeScript + Angular apps. As an example try out the following code.In this example the label shows all class names associated with the “#element” text field.
Expected behavior: When you blur the first text field, the
ng-untouched
class name changes tong-touched
. Angular on the web works this way.Actual behavior: When you blur the first text field the
ng-untouched
class name remains.The text was updated successfully, but these errors were encountered: