Skip to content

Commit

Permalink
match FormLabel component with other widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleawayan committed Dec 3, 2022
1 parent 77478bf commit 6e2020a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/material-ui/src/RangeWidget/RangeWidget.tsx
Expand Up @@ -29,8 +29,8 @@ const RangeWidget = ({

return (
<>
<FormLabel required={required} id={id}>
{label}
<FormLabel required={required} htmlFor={id}>
{label || schema.title}
</FormLabel>
<Slider
disabled={disabled || readonly}
Expand Down
4 changes: 2 additions & 2 deletions packages/mui/src/RangeWidget/RangeWidget.tsx
Expand Up @@ -29,8 +29,8 @@ const RangeWidget = ({

return (
<>
<FormLabel required={required} id={id}>
{label}
<FormLabel required={required} htmlFor={id}>
{label || schema.title}
</FormLabel>
<Slider
disabled={disabled || readonly}
Expand Down

0 comments on commit 6e2020a

Please sign in to comment.