i have checkbox that open a dialog when checked.
- this dialog is composed with a validation button and a cancel button.
- my checkbox tag have an [(ngModel)] and (ionChange).
the problem is :
when user press cancel button ([(ngModel)] value become false to uncheck the checkbox) but (ionChange) is called in same time and reopen my dialog a second time.
how can i handle that ?