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

className property of Message component not working #1076

Closed
NathanPB opened this issue Nov 5, 2019 · 0 comments · Fixed by #1077
Closed

className property of Message component not working #1076

NathanPB opened this issue Nov 5, 2019 · 0 comments · Fixed by #1077
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@NathanPB
Copy link
Contributor

NathanPB commented Nov 5, 2019

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)
https://codesandbox.io/s/primereact-test-mxkzk

Current behavior
The classes listed in the className property of any Message element are not included to the DOM.

Expected behavior
The custom classes listed in the className property should appear in the generated HTML.

Minimal reproduction of the problem with instructions

  1. Create a primereact/Message component.
  2. Add anything in its classList property
  3. Run your project
  4. Open the browser debugger and notice that your custom class is not included anywhere in the component

Please tell us about your environment:

  • OS: OpenSuse Tumbleweed

  • Node Version: v10.16.1

  • NPM Version: 6.9.0

  • Serve Version: 11.2.0

  • React version: 16.9.0

  • PrimeReact version: 3.3.2
  • Browser: all
  • Language: all

It's pretty much the same as #1068

mertsincan added a commit that referenced this issue Nov 27, 2019
Fixed #1076 - Message className property not working
@mertsincan mertsincan added the Type: Bug Issue contains a defect related to a specific component. label Nov 27, 2019
@mertsincan mertsincan added this to the 3.3.3 milestone Nov 27, 2019
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

Successfully merging a pull request may close this issue.

2 participants