ng-matero / extensions

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

mtx-checkbox-group doesn't reset value when formGroup reset method is called #230

Closed vmuresanu closed 10 months ago

vmuresanu commented 11 months ago

Steps to reproduce:

  1. Bind reactive form to mtx-checkbox-group
  2. Select items in checkbox group
  3. click X button to reset form

Actual: Form is reset but checkboxes remain checked

Expected: Form is reset and checkboxes are all unchecked.

Stackblitz: https://stackblitz.com/edit/stackblitz-starters-jgqupf?file=src%2Fmain.ts

nzbin commented 11 months ago

16.0.1 has fixes this issue, please have a try.

vmuresanu commented 11 months ago

Thanks for a quick response. Will try today and close bug.

vmuresanu commented 10 months ago

Fixed! Thanks a lot! Closing issue.