I’m trying to simulate the Radio Button element with Ionic Checkbox but I’m getting a very weird behavior that I cannot understand why.
This is the set up:
The Custom States are:
- CC (for CreditCard option): set to YES (default)
- BS (for Bank Slip option): set to NO (default)
So, when I click the Credit Card’s Ionic Checkbox, the Bank Slip checkbox should be ‘unchecked’ and vice-versa. Also, when a given checkbox is checked, it cannot be unchecked by clicking on it, only by clicking on the other checkbox thus simulating the radion button behavior.
I have same configurations for both Ionic Checkboxes:
And in the workflow:
I tried everything I could and it is NOT WORKING!!!
Preview:
.
1st interaction:
It worked!!!
.
2nd interaction:
Damn it!!!
.
I don’t understand why since all configurations seem ok to me…
Does anybody know what is wrong??
Appreciate any help!
John