You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 30, 2018. It is now read-only.
I tried using multiCheckbox which works great except that the reset is not working. Calling the resetModel() method leave checkboxes checked.
It's a little bit tricky, it appears that when calling resetModel, formly set multicheckbox property (from formly model) to undefined, then call resetFormControl on the multicheckbox form which leads to multicheckbox setModel restoring the model before AngularJS digest phase (so before receiving the watch handler on the model).
Thus model is restored before having the chance to be reset.
Have you an idea on how to resolve it ?
Cheers.
The text was updated successfully, but these errors were encountered:
Hi,
I tried using multiCheckbox which works great except that the reset is not working. Calling the resetModel() method leave checkboxes checked.
It's a little bit tricky, it appears that when calling resetModel, formly set multicheckbox property (from formly model) to undefined, then call resetFormControl on the multicheckbox form which leads to multicheckbox setModel restoring the model before AngularJS digest phase (so before receiving the watch handler on the model).
Thus model is restored before having the chance to be reset.
Have you an idea on how to resolve it ?
Cheers.
The text was updated successfully, but these errors were encountered: