This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal. |
This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal. |
Hi,
You can set the selectedIndex of a Switch in Segment like below
<segment>.data = [ { "btnSample": { "text": "Sample Text" }, "switchSample": { "selectedIndex": 0 } }, { "btnSample": { "text": "Sample Text" }, "switchSample": { "selectedIndex": 1 } }, { "btnSample": { "text": "Sample Text" }, "switchSample": { "selectedIndex": 0 } } ]
Regards,