Segmented Control: control activeIndex #2283
Replies: 3 comments
-
Is this planned at any time soon? This is such a crucial feature... @maxdreisbusch did you find any workaround for this? |
Beta Was this translation helpful? Give feedback.
-
Hey @Relax594, we did not find a workaround for that, so we created a custom component consuming rnuilib components by ourselves. |
Beta Was this translation helpful? Give feedback.
-
If this gets implemented: It would be great if it's possible to set the controlled index to Example use case: We use the SegmentedControl for giving ratings in surveys and want users to make active selections without a default value. |
Beta Was this translation helpful? Give feedback.
-
Is it possible to modify the index during runtime? For example I got a formic instance which has the onChangeIndex-Value of the segmented control. When resetting the form, it is not possible to also reset the segmented control to its initial value. Instead it keeps the old selected value.
For that it would be nice to have a value prop where we can control the currently selected index
Beta Was this translation helpful? Give feedback.
All reactions