Skip to content

Commit a0b016e

Browse files
committed
Fixed: prevent newline on Enter in property rename
1 parent 2977318 commit a0b016e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

meta_configurator/src/components/panels/gui-editor/PropertyMetadata.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function focusOnPropertyLabel(): void {
156156
@focus="focusEditingLabel()"
157157
@keydown.stop
158158
@blur="updatePropertyName"
159-
@keyup.enter="updatePropertyName"
159+
@keyup.enter.prevent="updatePropertyName"
160160
class="scroll-my-60 snap-start"
161161
:class="{
162162
'text-indigo-700': canZoomIn(),

0 commit comments

Comments
 (0)