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:
Tuan Le
2025-07-01 08:48:36 +07:00
committed by GitHub
parent 4a1680a799
commit 7f19f604a9

View File

@ -47,7 +47,7 @@ const GoogleModal = ({
onCancel={hideModal}
okButtonProps={{ loading }}
>
<Form>
<Form form={form}>
<Form.Item<FieldType>
label={t('modelType')}
name="model_type"