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

(cherry picked from commit 888683a8ad)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
This commit is contained in:
Grot (@grafanabot)
2021-05-24 17:48:01 +02:00
committed by GitHub
co-authored by Torkel Ödegaard
parent ec09a5995d
commit 44204a745c
@@ -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>