diff --git a/frontend/apps/main/src/features/admin/automation/RuleBox.vue b/frontend/apps/main/src/features/admin/automation/RuleBox.vue index cb0cada7..1acfd483 100644 --- a/frontend/apps/main/src/features/admin/automation/RuleBox.vue +++ b/frontend/apps/main/src/features/admin/automation/RuleBox.vue @@ -89,6 +89,7 @@ v-if="inputType(index) === 'text'" v-model="rule.value" @update:modelValue="(value) => handleValueChange(value, index)" + @keydown.enter.prevent /> @@ -98,6 +99,7 @@ v-if="inputType(index) === 'number'" v-model="rule.value" @update:modelValue="(value) => handleValueChange(value, index)" + @keydown.enter.prevent /> @@ -141,6 +143,7 @@ v-if="inputType(index) === 'date'" v-model="rule.value" @update:modelValue="(value) => handleValueChange(value, index)" + @keydown.enter.prevent /> diff --git a/frontend/apps/main/src/views/admin/automations/CreateOrEditRule.vue b/frontend/apps/main/src/views/admin/automations/CreateOrEditRule.vue index 3ed16f52..129bc7e6 100644 --- a/frontend/apps/main/src/views/admin/automations/CreateOrEditRule.vue +++ b/frontend/apps/main/src/views/admin/automations/CreateOrEditRule.vue @@ -30,7 +30,7 @@ {{ $t('globals.terms.name') }} - + @@ -40,7 +40,7 @@ {{ $t('globals.terms.description') }} - +