Просмотр исходного кода

Fix space clearing not being triggered because of wrong emit

Bubka 8 месяцев назад
Родитель
Сommit
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