Skip to content

Commit b6ee2fb

Browse files
authored
Merge pull request #5432 from marmelab/fix-autocompletearrayinput-disabled
Fix AutocompleteArrayInput doesn't support the disabled prop
2 parents d7cb19e + 3b306c7 commit b6ee2fb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/ra-ui-materialui/src/input/AutocompleteArrayInput.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ const AutocompleteArrayInput: FunctionComponent<
100100
allowEmpty,
101101
classes: classesOverride,
102102
choices = [],
103+
disabled,
103104
emptyText,
104105
emptyValue,
105106
format,
@@ -449,6 +450,7 @@ const AutocompleteArrayInput: FunctionComponent<
449450
margin={margin}
450451
color={color as any}
451452
size={size as any}
453+
disabled={disabled}
452454
{...inputProps}
453455
{...options}
454456
/>

0 commit comments

Comments
 (0)