Using Ant Design Forms Is A Pretty Good Practice Both For It's Beautiful UI And Simple Usage. Though I Get Some Weird Issue With UI. When I intentionally Fill Wrong Input It Gives An Error Message With Animation, But After Fixing That Antd Behaves strange A Little Bit. How To Fix That???
[2] Here Is My Form Code
<Form form={form} layout="vertical" onFinish={onFinish} autoComplete="off">
<Form.Item>Item name="message" label="Message" rules={[{ required: true, message: messages.description }]} > <Input /> </Form.Item>
<Form.Item name="rating" label="Rate Training">
<>
<Rate onChange={setValue} value={value} />
<span className="ant-rate-text"></span>
</>
</Form.Item>
<Form.Item>
<Button loading={isFeedbackSentLoading} type="primary" htmlType="submit" style={{ width: "100%" }}>
Submit
</Button>
</Form.Item>
</Form>