Skip to content

Commit

Permalink
Backport #9717
Browse files Browse the repository at this point in the history
  • Loading branch information
djhi committed Jun 24, 2024
1 parent a4d653c commit 3b34f76
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const AutocompleteArrayInput = <
<AutocompleteInput<OptionType, true, DisableClearable, SupportCreate>
{...props}
multiple
defaultValue={defaultValue ?? []}
defaultValue={defaultValue ?? (props.disabled ? undefined : [])}
/>
);

Expand Down

0 comments on commit 3b34f76

Please sign in to comment.