Browse Source

Fix space clearing not being triggered because of wrong emit

Bubka 8 months ago
parent
commit
2c73dac9db
1 changed files with 1 additions and 1 deletions
  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