Skip to content

Commit

Permalink
Fix review comment on 'as label'
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxouwell committed Mar 1, 2024
1 parent a052234 commit 20dceb0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const MaterialEnumArrayRenderer = ({
<FormLabel
htmlFor={id}
error={!isValid}
component={'legend' as 'label'}
component='legend'
required={showAsRequired(
required,
appliedUiSchemaOptions.hideRequiredAsterisk
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ export const MaterialRadioGroup = (props: ControlProps & OwnPropsOfEnum) => {
return (
<Hidden xsUp={!visible}>
<FormControl
component={'fieldset' as 'div'}
component='fieldset'
fullWidth={!appliedUiSchemaOptions.trim}
onFocus={onFocus}
onBlur={onBlur}
>
<FormLabel
htmlFor={id}
error={!isValid}
component={'legend' as 'label'}
component='legend'
required={showAsRequired(
required,
appliedUiSchemaOptions.hideRequiredAsterisk
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export const MaterialSliderControl = (props: ControlProps) => {
<FormLabel
htmlFor={id}
error={!isValid}
component={'legend' as 'label'}
component='legend'
required={showAsRequired(
required,
appliedUiSchemaOptions.hideRequiredAsterisk
Expand Down

0 comments on commit 20dceb0

Please sign in to comment.