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

This commit is contained in:
Torkel Ödegaard
2021-05-24 16:21:54 +02:00
committed by GitHub
parent 0afc4c0361
commit 888683a8ad
@@ -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>