ng-matero / extensions

Angular Material Extensions Library.
https://ng-matero.github.io/extensions/
MIT License
393 stars 48 forks source link

Checkbox touch event missing #70

Closed pedroestabruxelles closed 2 years ago

pedroestabruxelles commented 2 years ago

When selecting a checkbox, it's not being marked as touched. In my specific scenario I am integrating with a mat-form-field (custom directive) and the error class is not being added due to touched being always false.

nzbin commented 2 years ago

Can you give me an example on stackblitz?

pedroestabruxelles commented 2 years ago

Sure but I haven't been able to add the lib there. Im getting errors on both 11 and 12. "ngcc failed to run on @ng-matero/extensions@11.4.1." On version 12 complains about ngx-colors not being able to compile... Also tried what you suggested here https://github.com/ng-matero/extensions/issues/68 but no success..

Can you provide a working stackblitz with the lib?

nzbin commented 2 years ago

There has some problems with stackblitz. I think you can create a GitHub repo and let me test.

pedroestabruxelles commented 2 years ago

https://github.com/pedroestabruxelles/checkboxes-touched

nzbin commented 2 years ago

Many thanks, I got it.

nzbin commented 2 years ago

v12.2.5 has fixed it.