Open krinashah0493 opened 3 years ago
i have same issue
has any solution ?
The issue here is sometimes the line of code is run twice. So to solve the problem either convert it to singleton or far better use the widget itself in the meta field instead of defining it.
Here is a code snippet of what i am trying to implement
import React from 'react'; import "antd/dist/antd.css"; import { Form,Select,Upload, message, Button, Icon, } from 'antd' import FormBuilder from 'antd-form-builder' import MultipleSelect2 from './multipleInput'; // import MultipleSelect from './multipleInput'; const {Option}=Select
function FormBuild(props){ let formRef = React.createRef() const [form] = Form.useForm() const forceUpdate = FormBuilder.useForceUpdate();
}
export default FormBuild