chore: press enter key to submit while focus on password
This commit is contained in:
@@ -169,6 +169,7 @@ const AddModal: React.FC<AddModalProps> = ({
|
|||||||
autoComplete={'new-password'}
|
autoComplete={'new-password'}
|
||||||
label={intl.formatMessage({ id: 'common.form.password' })}
|
label={intl.formatMessage({ id: 'common.form.password' })}
|
||||||
required={action === PageAction.CREATE}
|
required={action === PageAction.CREATE}
|
||||||
|
onPressEnter={handleSubmit}
|
||||||
></CInput.Password>
|
></CInput.Password>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
</Form>
|
</Form>
|
||||||
|
|||||||
Reference in New Issue
Block a user