RowOptions: Fix enter key updating row options (#34586)

pull/34609/head
Torkel Ödegaard 4 years ago committed by GitHub
parent 0afc4c0361
commit 888683a8ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      public/app/features/dashboard/components/RowOptions/RowOptionsForm.tsx

@ -34,7 +34,7 @@ export const RowOptionsForm: FC<Props> = ({ repeat, title, onUpdate, onCancel })
</Field>
<Modal.ButtonRow>
<Button variant="secondary" onClick={onCancel} fill="outline">
<Button type="button" variant="secondary" onClick={onCancel} fill="outline">
Cancel
</Button>
<Button type="submit">Update</Button>

Loading…
Cancel
Save