Closed mamwadei closed 4 years ago
@mamwadei Make an example on stackblitz. I'll check and fix
I am trying to make validation when the control is touched but not working while it works fine with the controls in the same form also dirty works only when I select one option and then clear it and not working if I type anything for search
@mamwadei Please, use https://stackblitz.com/ to reproduce and show the bug.
I will help much enough to understand faster and as result fix it faster.
Thanks.
ng-touched is set after something was selected: https://stackblitz.com/edit/angular-7-template-driven-form-validation-nhzoet
@guntram @mamwadei Seems it works fine: https://stackblitz.com/edit/angular-7-issues-171?file=app/app.component.ts
I am trying to do some code when the control is touched but it seems not work. How to do that please ?