[Bug]: The "required" attribute on checkbox is broken #33193
Labels
Component: Checkbox
Fluent UI react (v8)
Issues about @fluentui/react (v8)
Resolution: Won't Do
Requests reviewed; concluded to not approve for prioritization.
Type: Feature
Package
react
Package version
8.12.7
React version
16.14.0
Environment
web
Current Behavior
Adding the "required" attribute doesn't enforce a required behavior. I couldn't see a red (*) beside the label or checkbox component.
Expected Behavior
Adding the "required" attribute should enforce a required behavior and show a red (*) beside the checkbox/label
Reproduction
https://codepen.io/pen
Steps to reproduce
Go to https://developer.microsoft.com/en-us/fluentui#/controls/web/checkbox
Click on any "Export to codepen" https://codepen.io/pen
Add "required" to any Checkbox component (Example: )
Observe that there is no red (*) and the "required" behavior is not enforced
Are you reporting an Accessibility issue?
None
Suggested severity
High - No workaround
Products/sites affected
account.microsoft.com/privacy
Are you willing to submit a PR to fix?
no
Validations
The text was updated successfully, but these errors were encountered: