You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This creates what appears to be a segmented control. However, selecting the button doesn't permanently change the color/fill of that button with respect to the others. The desired behavior would be something akin to shinyWidgets::radioGroupButtons().
thanks again!
Editing to add:
I was able to achieve this but rendering the f7Segment() on the server side within a renderUI() and changing the active = T/F argument for each button based on a reactiveValue that changed based on the most recent button press, but this feels a little clunky
The text was updated successfully, but these errors were encountered:
Hi thanks for putting together this package.
I was wondering if it was possible (or perhaps intended) to use the f7Segment() function as a segmented control (https://developer.apple.com/design/human-interface-guidelines/ios/controls/segmented-controls/). From one of the examples in the documentation:
This creates what appears to be a segmented control. However, selecting the button doesn't permanently change the color/fill of that button with respect to the others. The desired behavior would be something akin to shinyWidgets::radioGroupButtons().
thanks again!
Editing to add:
I was able to achieve this but rendering the f7Segment() on the server side within a renderUI() and changing the active = T/F argument for each button based on a reactiveValue that changed based on the most recent button press, but this feels a little clunky
The text was updated successfully, but these errors were encountered: