瀏覽代碼

Fix space clearing not being triggered because of wrong emit

Bubka 8 月之前
父節點
當前提交
2c73dac9db
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      resources/js/components/formElements/FormLockField.vue

+ 1 - 1
resources/js/components/formElements/FormLockField.vue

@@ -59,7 +59,7 @@
     const hasBeenTrimmed = ref(false)
     const componentKey = ref(0);
 
-    const emit = defineEmits(['input:modelValue'])
+    const emit = defineEmits(['update:modelValue'])
 
     /**
      * Removes spaces from the input string