Skip to content

Commit 19abf43

Browse files
committed
Fix date and time pickers
1 parent 2cb7798 commit 19abf43

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,12 @@ const selectComponent = ({
135135
fullWidth
136136
margin="normal"
137137
label={ label }
138+
helperText={ helperText }
139+
disabled={ isDisabled || isReadOnly }
140+
placeholder={ placeholder }
141+
required={ isRequired }
142+
error={ invalid }
143+
readOnly={ isReadOnly }
138144
{ ...input }
139145
value={ input.value || null }
140146
/>
@@ -146,6 +152,12 @@ const selectComponent = ({
146152
fullWidth
147153
margin="normal"
148154
label={ label }
155+
helperText={ helperText }
156+
disabled={ isDisabled || isReadOnly }
157+
placeholder={ placeholder }
158+
required={ isRequired }
159+
error={ invalid }
160+
readOnly={ isReadOnly }
149161
{ ...input }
150162
value={ input.value || null }
151163
/>

0 commit comments

Comments
 (0)