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

Style props doesnt update after re-rendering with Inputmask #996

dattebayorob opened this issue Aug 21, 2019 · 0 comments


Copy link

commented Aug 21, 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

Codesandbox Case (Bug Reports)

Current behavior
Style props doesnt get passed to input after re-rendering the component.
className, style and even styled-component class doesnt work with Inputmask

Expected behavior
When error change, the Style prop change the border color of the input

Minimal reproduction of the problem with instructions
On the sandbox sample, just click on "Submit" without change the value. InputText updates the style but InputMask doesnt

Please tell us about your environment:
Arch Linux, with VSCODE and Firefox (Google Chrome tested too)

  • React version:

  • PrimeReact version:

  • Browser:
    Chrome 76 and Firefox 68

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

@dattebayorob dattebayorob changed the title Styles dont update on re-render on Inputmask Style props doesnt update after re-rendering with Inputmask Aug 21, 2019

@mertsincan mertsincan self-assigned this Aug 27, 2019

@mertsincan mertsincan added the defect label Aug 27, 2019

@mertsincan mertsincan added this to the 3.1.9 milestone Aug 27, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.