I want to get value from custom HTML input in AntDesign, onFinish function of the form not getting the description value, I have attached the sample below.
<Form.Item
label="description"
name="description"
rules={[
{
required: true,
message: 'description is required',
},
]}
>
<CustomInput type="text" />
</Form.Item>
const CustomInput = () => {
return <input type="text" />;
}
export default CustomInput;