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

Value doesnt change on Input mask when unmask is enabled #998

Closed
dattebayorob opened this issue Aug 27, 2019 · 4 comments
Closed

Value doesnt change on Input mask when unmask is enabled #998

dattebayorob opened this issue Aug 27, 2019 · 4 comments
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@dattebayorob
Copy link

dattebayorob commented Aug 27, 2019

There is no guarantee in receiving an immediate response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeReact PRO Support where support is provided within 4 business hours

I'm submitting a ... (check one with "x")

[ x ] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

Codesandbox Case (Bug Reports)
Please fork the codesandbox below and create a case demonstrating your bug report. Issues without a codesandbox have much less possibility to be reviewed.

https://codesandbox.io/embed/primereact-test-zvmmu

Current behavior

use Inputmask with unmask={true} and envent onChange doesnt work properly

Expected behavior

When unmask enabled, save the raw value without mask

Minimal reproduction of the problem with instructions

Please tell us about your environment:

Arch Linux with Visual Studio code

  • React version:
    16.9.0

  • PrimeReact version:
    3.1.8

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
    Firefox and chrome alst versions

  • Language: [all | TypeScript X.X | ES6/7 | ES5]
    ES6

@dattebayorob dattebayorob changed the title Value doesnt change on Input mask when unmaks is enabled Value doesnt change on Input mask when unmask is enabled Aug 27, 2019
@mertsincan mertsincan self-assigned this Sep 9, 2019
@mertsincan mertsincan added the Type: Bug Issue contains a defect related to a specific component. label Sep 9, 2019
@mertsincan mertsincan added this to the 3.2.0 milestone Sep 9, 2019
@pietrobelluno
Copy link

still happens

@dattebayorob
Copy link
Author

Are u sure? I'm using last version (4.1.1 I guess) and it's working normal

@pietrobelluno
Copy link

Yes, i put unmask prop and when i'm typing i cant set my state

@romanown
Copy link

i am not use unmask but onInput not work also

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

No branches or pull requests

4 participants