From d46623aaf6dafeaeb734f24ff9e7b65b8668ccec Mon Sep 17 00:00:00 2001 From: Seth Ladygo Date: Mon, 20 May 2019 00:35:49 -0700 Subject: [PATCH] AddSectionDialog: fix enter key behavior --- cateditor/src/components/AddSectionDialog.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/cateditor/src/components/AddSectionDialog.vue b/cateditor/src/components/AddSectionDialog.vue index 5fa81e9..13736bf 100644 --- a/cateditor/src/components/AddSectionDialog.vue +++ b/cateditor/src/components/AddSectionDialog.vue @@ -14,6 +14,7 @@ :rules="[v => !!v || 'Required']" v-model="name" label="Name" + v-on:keydown.enter.prevent="doNewSection()" autofocus required>