Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] text-fields mask #9028

Open
SP86 opened this issue Sep 19, 2019 · 2 comments
Open

[Bug Report] text-fields mask #9028

SP86 opened this issue Sep 19, 2019 · 2 comments
Assignees
Labels
C: VMaskInput labs Must be completed for this component to leave labs T: bug Functionality that does not work as intended/expected
Milestone

Comments

@SP86
Copy link

SP86 commented Sep 19, 2019

Environment

Vuetify Version: 1.5.18
Vue Version: 2.6.10
Browsers: Chrome 76.0.3809.132
OS: Windows 10

Steps to reproduce

  1. Set in data
    mask: '+38(###)-###-##-##',

2.Click to text field and and start entering number 097

Expected Behavior

That the cursor snaps into place 3 characters

Actual Behavior

The cursor is in the middle of the entered characters

Reproduction Link

https://codepen.io/heraqles/pen/oMNZzX

Other comments

This is a video link for a demonstration.
https://itpromotion.eu/ice_video_20190919-161919.webm

@ghost ghost added the S: triage label Sep 19, 2019
@Teellcory
Copy link

Are you trying to modify a time example to do phone numbers? As you can see in the pattern code: 7 doesn't work because there's no such time as 9:70AM.

@alexandre-le-borgne
Copy link

alexandre-le-borgne commented Sep 21, 2019

The bug is not due to the change of mask but to the mask in itself.

When typing the first character :
Works :'+++(###)-#####' (the cursor is placed after the first #)
Does not works :'+38(###)-#####' (the cursor is misplaced after the first '3')

@johnleider johnleider self-assigned this Oct 24, 2019
@Leespiker Leespiker added T: bug Functionality that does not work as intended/expected and removed S: triage labels Apr 5, 2020
@KaelWD KaelWD added the wontfix The issue is expected and will not be fixed label Jun 5, 2021
@KaelWD KaelWD closed this as completed Jun 5, 2021
@KaelWD KaelWD reopened this Mar 13, 2025
@KaelWD KaelWD self-assigned this Mar 13, 2025
@KaelWD KaelWD removed the wontfix The issue is expected and will not be fixed label Mar 13, 2025
@KaelWD KaelWD added this to the v3.8.0 (Andromeda) milestone Mar 13, 2025
@KaelWD KaelWD modified the milestones: v3.8.0 (Andromeda), v3.8.x Mar 18, 2025
@KaelWD KaelWD added C: VMaskInput labs Must be completed for this component to leave labs and removed C: VTextField labels Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VMaskInput labs Must be completed for this component to leave labs T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

No branches or pull requests

6 participants