Question - How can I dynamically render a component as a Radio button on desktop (wide screen) and as a Dropdown on mobile screens #5261
Unanswered
Dev-Trilok
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I'm looking for a component that can handle a series of rows containing radio buttons. On a wide enough screen, I would like the layout to be compact, with multiple rows displayed side by side. However, when the screen width falls below a certain threshold, I want each row to be displayed with the row label taking up the full width, and the radio buttons replaced with either a dropdown or a stacked series of radio buttons.
on large screen
it would look on a small screen like:
Thanks
Beta Was this translation helpful? Give feedback.
All reactions