소스 검색

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