Caleb Porzio %!s(int64=3) %!d(string=hai) anos
pai
achega
84e2ef3fd6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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