diff --git a/packages/ra-ui-materialui/src/field/ReferenceField.tsx b/packages/ra-ui-materialui/src/field/ReferenceField.tsx index 01d51c085b5..dabf5ce8c7d 100644 --- a/packages/ra-ui-materialui/src/field/ReferenceField.tsx +++ b/packages/ra-ui-materialui/src/field/ReferenceField.tsx @@ -81,8 +81,7 @@ export const ReferenceField = < export interface ReferenceFieldProps< RecordType extends Record = Record, ReferenceRecordType extends RaRecord = RaRecord, -> extends Omit, 'source'>, - Required, 'source'>> { +> extends FieldProps { children?: ReactNode; queryOptions?: Partial< UseQueryOptions & {