Fix validation issue

This commit is contained in:
Viet Anh Nguyen 2024-03-14 18:30:50 +07:00
parent 57bc7a565a
commit 2b736f2608

View File

@ -117,12 +117,6 @@ const EditableCell: React.FC<EditableCellProps> = ({
<Form.Item
style={{ margin: 0 }}
name={dataIndex}
rules={[
{
required: true,
message: `${title} is required.`,
},
]}
>
<Input ref={inputRef} onPressEnter={save} onBlur={save} />
</Form.Item>