this post was submitted on 12 Feb 2024
95 points (98.0% liked)

Programming

17313 readers
211 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] calcopiritus 28 points 8 months ago (13 children)

Toggles should not exist. They should be check boxes. Checked if "ON", unchecked if "OFF" with a mouse over tooltip if there is any chance that it's ambiguous.

[–] [email protected] 16 points 8 months ago (8 children)

@calcopiritus @starman
Buttons/switches trigger an immediate action, whereas checkboxes usually do not (such as on a settings page, where no changes are applied unless you click "save").

[–] calcopiritus -4 points 8 months ago* (last edited 8 months ago) (7 children)

Never said nothing about a button. Toggles are just check boxes with a different aspect.

EDIT: the thread is actually about actual buttons. Maybe should've clicked on the link where it explains what he means by "toggle button".

[–] [email protected] 1 points 8 months ago

@calcopiritus
The OP says toggle button - that is what this thread is about.

load more comments (6 replies)
load more comments (6 replies)
load more comments (10 replies)