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

InputMask: Value is not unmasked when pasting inside Form #6741

Open
25Das opened this issue Nov 7, 2024 · 0 comments
Open

InputMask: Value is not unmasked when pasting inside Form #6741

25Das opened this issue Nov 7, 2024 · 0 comments
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@25Das
Copy link

25Das commented Nov 7, 2024

Describe the bug

When pasting masked value to InputMask with unmask attribute it outputs unmasked value, except if you are using new Form component.
The output of $form.[inputname]?.value is the masked value despite unmask attribute true.
Typing works without issue.

Reproducer

https://stackblitz.com/edit/p9kvjy?file=src%2FApp.vue,package.json

PrimeVue version

4.2.1

Vue version

3.x

Language

TypeScript

Build / Runtime

Nuxt

Browser(s)

No response

Steps to reproduce the behavior

Open reproducer, copy masked value, paste inside inputs, see result on side.

Expected behavior

Value properly unmasked when using Form.

@25Das 25Das added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 7, 2024
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 14, 2024
@tugcekucukoglu tugcekucukoglu added this to the 4.3.0 milestone Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants