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'}
|
||||
label={intl.formatMessage({ id: 'common.form.password' })}
|
||||
required={action === PageAction.CREATE}
|
||||
onPressEnter={handleSubmit}
|
||||
></CInput.Password>
|
||||
</Form.Item>
|
||||
</Form>
|
||||
|
||||
Reference in New Issue
Block a user