Open chj-damon opened 4 years ago
Yes - If Switch is disabled - you can't change it's value, is this the issue ?
@shahen94 I mean it should be true if I set value is true. But actually it remains false even though the value is true, no matter I disable it or not.
I'm using
Switch
in some detail screen, so I don't want user to enable it so I disabled it. But I found out thatSwitch
will remain false. I removedisabled
property then it works fine. So I think that's the reason.