Преглед изворни кода

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