From e8c9164b5d7956ce843095989a6dbf73e9eea529 Mon Sep 17 00:00:00 2001 From: katherinehhh Date: Thu, 27 Jul 2023 22:38:10 +0800 Subject: [PATCH] fix: sub-form record provider data failed to matching (#2337) --- .../src/schema-component/antd/association-field/Nester.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/core/client/src/schema-component/antd/association-field/Nester.tsx b/packages/core/client/src/schema-component/antd/association-field/Nester.tsx index 839a2edc8..6b195cef9 100644 --- a/packages/core/client/src/schema-component/antd/association-field/Nester.tsx +++ b/packages/core/client/src/schema-component/antd/association-field/Nester.tsx @@ -10,6 +10,7 @@ import React, { useContext } from 'react'; import { useTranslation } from 'react-i18next'; import { AssociationFieldContext } from './context'; import { useAssociationFieldContext } from './hooks'; +import { RecordProvider, useRecord } from '../../../record-provider'; export const Nester = (props) => { const { options } = useContext(AssociationFieldContext); @@ -92,7 +93,9 @@ const ToManyNester = observer( )} - + + + );