We are using ion-toggle
and wanting to show a message when the toggle is enabled. For this we are using (ionChange)
event.
However there are some scenarios where we want to programmatically set the value of the toggle (when loading the form) and do not want the message to show.
Is there a way to detect this in the event, or to update the toggle without triggering the change event?