Caleb Porzio 3 роки тому
батько
коміт
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
             }
 
-            let setInput = () => { lastInputValque = el.value = formatInput(input, template) }
+            let setInput = () => { lastInputValue = el.value = formatInput(input, template) }
 
             if (shouldRestoreCursor) {
                 // When an input element's value is set, it moves the cursor to the end