diff --git a/packages/ra-core/src/controller/input/useReferenceInputController.ts b/packages/ra-core/src/controller/input/useReferenceInputController.ts index e256c48b73c..c641b4e77c5 100644 --- a/packages/ra-core/src/controller/input/useReferenceInputController.ts +++ b/packages/ra-core/src/controller/input/useReferenceInputController.ts @@ -258,5 +258,5 @@ interface Option { resource?: string; sort?: SortPayload; source: string; - getEnabled?: (filters: any) => boolean; + isEnabled?: (filters: any) => boolean; }