Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

input with mask cut value and add some number #572

@kurwaBober

Description

@kurwaBober

V-Mask and Vue versions

1.3.1, 2.5

Reproduction Link

https://codesandbox.io/s/v-mask-demo-forked-gdpchi

What is Expected?

image
i have value number +77987654321 and mask +7 (7##) ###-##-##. When i write number everything is ok, but if i have that value from state everything go wrong, mask add 7 to start and cut last number

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