Skip to content

Commit bc5e67f

Browse files
committed
mui: remove required from innerProps
this causes using of chrome HTML validation and that's something we doesn't want to do
1 parent 10fc6de commit bc5e67f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/mui-component-mapper/src/form-fields/form-fields.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ const selectComponent = ({
5656
required={ isRequired }
5757
inputProps={{
5858
readOnly: isReadOnly,
59+
required: false,
5960
}}
6061
{ ...rest }
6162
/>
@@ -73,6 +74,7 @@ const selectComponent = ({
7374
multiline
7475
inputProps={{
7576
readOnly: isReadOnly,
77+
required: false,
7678
}}
7779
{ ...rest }
7880
/>

0 commit comments

Comments
 (0)