File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
src/components/CheckboxField Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -188,8 +188,8 @@ React.createElement(() => {
188188
189189### Required State
190190
191- The required state indicates that the input is mandatory. Required fields display an asterisk ` * ` after the label by
192- default.
191+ The required state indicates that the input is mandatory. Required fields
192+ display an asterisk ` * ` after the label by default.
193193
194194``` docoff-react-preview
195195React.createElement(() => {
@@ -205,9 +205,11 @@ React.createElement(() => {
205205});
206206```
207207
208- However, your project may use the label color as the primary means to indicate the required state of input fields (see
209- [ Forms Theming] ( /docs/customize/theming/forms ) for more). Because not checking an input is also a valid action, it may
210- be confusing to users to see the optional check inputs greyed out.
208+ However, your project may use the label color as the primary means to indicate
209+ the required state of input fields (see
210+ [ Forms Theming] ( /docs/customize/theming/forms ) for more). Because not checking
211+ an input is also a valid action, it may be confusing to users to see the
212+ optional check inputs greyed out.
211213
212214For this case, there is the ` renderAsRequired ` prop:
213215
You can’t perform that action at this time.
0 commit comments