mirror of
https://github.com/ansible/awx.git
synced 2026-01-19 21:51:26 -03:30
Prevents form validation on cancel button click
This commit is contained in:
parent
b41f90e7d4
commit
15f41a0f16
@ -23,6 +23,7 @@ const FormActionGroup = ({ onCancel, onSubmit, submitDisabled }) => (
|
||||
aria-label={t`Cancel`}
|
||||
variant="link"
|
||||
type="button"
|
||||
onMouseDown={(e) => e.preventDefault()}
|
||||
onClick={onCancel}
|
||||
>
|
||||
{t`Cancel`}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user