Преглед на файлове

Fix x-mask restoreCursorPosition initialization issue

Caleb Porzio преди 2 години
родител
ревизия
d02bb8babc
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      packages/mask/src/index.js

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

@@ -33,10 +33,10 @@ export default function (Alpine) {
                     // - Initializing the mask on the input if it has an initial value.
                     // - Running the template function to set up reactivity, so that
                     //   when a dependency inside it changes, the input re-masks.
-                    processInputValue(el)
+                    processInputValue(el, false)
                 })
             } else {
-                processInputValue(el)
+                processInputValue(el, false)
             }
 
             // Override x-model's initial value...