mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 10:30:03 -03:30
Merge pull request #11104 from AlexSCorey/8826-ErroneousFormValidation
Prevents form validation on cancel button click
This commit is contained in:
commit
33c7f0b5fc
@ -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