Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49259

Checkbox + ngmodel + ngchange + dialog

$
0
0

@dfertane wrote:

hello,

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 ?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 49259

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>