Caleb Porzio 3 лет назад
Родитель
Сommit
84e2ef3fd6
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/mask/src/index.js

+ 1 - 1
packages/mask/src/index.js

@@ -53,7 +53,7 @@ export default function (Alpine) {
                 return lastInputValue = el.value
                 return lastInputValue = el.value
             }
             }
 
 
-            let setInput = () => { lastInputValque = el.value = formatInput(input, template) }
+            let setInput = () => { lastInputValue = el.value = formatInput(input, template) }
 
 
             if (shouldRestoreCursor) {
             if (shouldRestoreCursor) {
                 // When an input element's value is set, it moves the cursor to the end
                 // When an input element's value is set, it moves the cursor to the end