Error variant for the Checkbox component #1698
Replies: 3 comments 7 replies
-
Regarding whether the checkbox should have an error variant, I believe it should, especially considering that a checkbox can be mandatory. |
Beta Was this translation helpful? Give feedback.
-
I think it makes sense to have this variant in the component; reviewing other design systems many of them have this variant, although many others don´t. What is not so standardized is to show the error message, for me it also makes sense to show it as we do with other components. |
Beta Was this translation helpful? Give feedback.
-
I agree. Checkbox group is a component we need in our Design System to allow users to select multiple items, as we have in the Radio Group, so it would give us consistency. Also I think that the error should be shown in both variants, single checkbox and checkbox group. I don't see a major reason so that we do not add the error in the single checkbox. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The majority of our form components (Text Input, Textarea, Radio Group, File Input, etc.) have an error state or variant and an opinion on how and where to display the error messages. The only one remaining is the Checkbox, which currently doesn't provide a design opinion or solution for that use case. My question is:
Proposal
Beta Was this translation helpful? Give feedback.
All reactions