Skip to content

Commit ea3c894

Browse files
authored
Merge pull request #7595 from bingluen/7593-choices-type-of-selectinput-should-indeed-be-any
Fix #7593, choices should indeed be `any[]`
2 parents 1e773c1 + a2ca057 commit ea3c894

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ra-core/src/form/useChoices.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export type OptionTextFunc = (choice: any) => string | OptionTextElement;
1313
export type OptionText = OptionTextElement | OptionTextFunc | string;
1414

1515
export interface ChoicesProps {
16-
choices?: RaRecord[];
16+
choices?: any[];
1717
isFetching?: boolean;
1818
isLoading?: boolean;
1919
optionValue?: string;

0 commit comments

Comments
 (0)