Skip to content

Commit 6b9b51a

Browse files
author
shaoyu
committed
fix type for autocomplete input
1 parent 8c814a4 commit 6b9b51a

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)