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

input with mask cut value and add some number #572

Open
kurwaBober opened this issue Feb 28, 2023 · 0 comments
Open

input with mask cut value and add some number #572

kurwaBober opened this issue Feb 28, 2023 · 0 comments

Comments

@kurwaBober
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant