diff --git a/src/components/PanelComponents/FormEditor/index.tsx b/src/components/PanelComponents/FormEditor/index.tsx index cba150f..195c453 100644 --- a/src/components/PanelComponents/FormEditor/index.tsx +++ b/src/components/PanelComponents/FormEditor/index.tsx @@ -52,6 +52,11 @@ const FormEditor = (props: FormEditorProps) => { form.resetFields(); }; }, [defaultValue, form]); + + const handleInputChange = (values: any) => { + let btn = document.getElementById('btn'); + btn?.click(); + }; return (
{ {item.type === 'Number' && ( - + )} {item.type === 'Text' && ( - + )} {item.type === 'TextArea' && ( -