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
touched/untouched not updating in custom input component #10151
Comments
You need to call For example by adding GitHub issues are for bug reports and feature requests. |
Sorry @zoechi I edited the Plunker after you looked it. I added |
This is because
throws an exception and then the blur handler doesn't work anymore If you change it to Please always check the browser console... |
I had to change it to Thanks. |
What if i want to check if control is touched or not in this..? |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I'm submitting a ... (check one with "x")
Current behavior
untouched/touched properties do not update, but ng-touched class is being added properly, but pristine/dirty and validators do.
Expected/desired behavior
I would expect untouched/touched to updated on blur, just like pristine/dirty and validators are.
Reproduction of the problem
https://plnkr.co/edit/O9KWzwhjvySnXd7vyo71?
Please tell us about your environment:
Chrome 51
Typescript
The text was updated successfully, but these errors were encountered: