diff --git a/packages/client/src/schema-component/antd/record-picker/ReadPrettyRecordPicker.tsx b/packages/client/src/schema-component/antd/record-picker/ReadPrettyRecordPicker.tsx index 5d647a4ee..7abb842c4 100644 --- a/packages/client/src/schema-component/antd/record-picker/ReadPrettyRecordPicker.tsx +++ b/packages/client/src/schema-component/antd/record-picker/ReadPrettyRecordPicker.tsx @@ -17,32 +17,33 @@ export const ReadPrettyRecordPicker: React.FC = observer((props: any) => { const [visible, setVisible] = useState(false); const { getField } = useCollection(); const collectionField = getField(fieldSchema.name); + const [record, setRecord] = useState({}); return (