Skip to content
Discussion options

You must be logged in to vote

Hi @cgolankotter

This type of use case seems totally reasonable for a switch!

The only thing I'd caution against is that the use of Switches is usually in conjunction with instant on / off configuration and persistence. Think about how switches work on a phone in settings. There's no "save" action, they are just "on" or "off".

So if the API you're working with doesn't support asynchronous saving per field, and you have to rely on a save button for the entire form, then you might create an unfamiliar interaction for the user. In that instance, you would be better off using Radio's, even if they do create longer pages, because it's a much more familiar interaction pattern.

Hope that helps!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cgolankotter
Comment options

Answer selected by cgolankotter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants