Selaa lähdekoodia

Fix space clearing not being triggered because of wrong emit

Bubka 8 kuukautta sitten
vanhempi
commit
2c73dac9db
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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