fix: save on blur and on enter
This commit is contained in:
parent
0879d1c56f
commit
afb561110a
@ -7,7 +7,8 @@
|
|||||||
v-model="option.value"
|
v-model="option.value"
|
||||||
class="w-full"
|
class="w-full"
|
||||||
:placeholder="option.placeholder"
|
:placeholder="option.placeholder"
|
||||||
@keydown.enter="saveOption"
|
@blur.stop="saveOption"
|
||||||
|
@keydown.enter.stop="(e) => e.target.blur()"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div class="actions flex items-center justify-center">
|
<div class="actions flex items-center justify-center">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user