Menu

Post image 1
Post image 2
Post image 3
Post image 4
1 / 4
0

Should I use a radio group or a checkbox?

DEV Community: materialui·Armstrong Olusoji·about 1 month ago
#2y7jmTcl
#dev#f44336#class#radio#checkbox#color
Reading 0:00
15s threshold

Selectors are important in software development. They are useful in forms, settings, and other features that require the user's input. Selectors, though, are not built equal. Different selectors have different jobs. Without a dedicated UX/UI designer, you may use a radio where you need a checkbox. This article will cover radio groups and checkboxes. We will touch on their history and define them. Then, we discuss the ideal and unacceptable use cases for each selector. Two terms you will often see in this article are: Mutually Exclusive: options that cannot occur at the same time Mutually Inclusive: options that can occur at the same time. Finally, this article shows you how to build these selectors with React and Material UI. These code blocks will cement the logic behind each of the selectors. For this portion of the article, you need the following prerequisite knowledge: JavaScript fundamentals React fundamentals The Checkbox The checkbox is a graphic component that helps a user choose from a list.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More