Skip to content

data-maska-eager weird behavior #128

Description

@jiblett1000

Describe the bug

Hello,

I'm trying to implement this in a vue project. However, after trying to use the "eager" option, I've come across some strange behavior.

Entering the value creates the mask as expected with the eager behavior, but upon deleting the characters, at some point the value starts to become garbled and characters from the beginning of the mask option are being added into the input.

Steps to reproduce

Just use the eager option. In particular I'm creating a phone number input.

Reproduction link

https://stackblitz.com/edit/nuxt-starter-8swf8v?file=app.vue

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions