Open amrangry opened 1 year ago
Hi @amrangry you can try one of the examples and see that SwitchRow works correctly and onChange is called each time the user taps the switch. Even with your code it works for me.
However why are you changing the switch value from inside onChange?
Also, you probably want to build on row.value
instead of row.cell.switchControl?.isOn
Describe the bug SwitchRow Not responding to second time from user interaction
To Reproduce Steps to reproduce the behavior:
Expected behavior execute the code statement in onChange function each time value change of the switch
Screenshots
Versions (please complete the following information):