Fix validation issue
This commit is contained in:
parent
57bc7a565a
commit
2b736f2608
@ -117,12 +117,6 @@ const EditableCell: React.FC<EditableCellProps> = ({
|
|||||||
<Form.Item
|
<Form.Item
|
||||||
style={{ margin: 0 }}
|
style={{ margin: 0 }}
|
||||||
name={dataIndex}
|
name={dataIndex}
|
||||||
rules={[
|
|
||||||
{
|
|
||||||
required: true,
|
|
||||||
message: `${title} is required.`,
|
|
||||||
},
|
|
||||||
]}
|
|
||||||
>
|
>
|
||||||
<Input ref={inputRef} onPressEnter={save} onBlur={save} />
|
<Input ref={inputRef} onPressEnter={save} onBlur={save} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
Loading…
Reference in New Issue
Block a user