mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Pass Form Instance to GoogleModal Form Component (#8586)
### What problem does this PR solve? This PR enables the `Form` component within the `GoogleModal` to directly access and manipulate the form state by passing the form instance from the parent component. This enhances form control and data manipulation capabilities within the modal, improving the component's functionality and integration with the parent form. ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -47,7 +47,7 @@ const GoogleModal = ({
|
||||
onCancel={hideModal}
|
||||
okButtonProps={{ loading }}
|
||||
>
|
||||
<Form>
|
||||
<Form form={form}>
|
||||
<Form.Item<FieldType>
|
||||
label={t('modelType')}
|
||||
name="model_type"
|
||||
|
||||
Reference in New Issue
Block a user