I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
Current behavior:
I have a reactive form with an ion-input in an ion-item. The first time I touch the input and then touch outside, the ‘ng-untouched’ on the ion-item still exists on the ion-item. The second time I touch the input, it changes to ‘ng-touched’.
Expected behavior:
When I firstly touch input the 'ng-untouched' in the corresponding ion-item should change to 'ng-touched'.
Original issue by @asuroalex on 2018-01-12T15:53:21Z
Ionic version: (check one with "x") (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1) [ ] 2.x [x] 3.9.2 [ ] 4.x
I'm submitting a ... (check one with "x") [x] bug report [ ] feature request
Current behavior: I have a reactive form with an ion-input in an ion-item. The first time I touch the input and then touch outside, the ‘ng-untouched’ on the ion-item still exists on the ion-item. The second time I touch the input, it changes to ‘ng-touched’.
Expected behavior: When I firstly touch input the 'ng-untouched' in the corresponding ion-item should change to 'ng-touched'.
Steps to reproduce: https://stackblitz.com/edit/ionic-wqatxh I added a required Validator to the field to show the behavior.
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):