Skip to content

Commit 0bd08ae

Browse files
authored
Merge pull request marmelab#10393 from smeng9/fix-autocomplete-input-disable-clearable
Fix type of disableClearable prop for AutocompleteInput
2 parents 8c814a4 + 6b9b51a commit 0bd08ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ const defaultFilterOptions = createFilterOptions();
116116
export const AutocompleteInput = <
117117
OptionType extends RaRecord = RaRecord,
118118
Multiple extends boolean | undefined = false,
119-
DisableClearable extends boolean | undefined = false,
119+
DisableClearable extends boolean | undefined = boolean | undefined,
120120
SupportCreate extends boolean | undefined = false,
121121
>(
122122
props: AutocompleteInputProps<

0 commit comments

Comments
 (0)