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

InputText: className is added twice #5440

Closed
oguzkurtcuoglu opened this issue Nov 28, 2023 · 0 comments · Fixed by #5441
Closed

InputText: className is added twice #5440

oguzkurtcuoglu opened this issue Nov 28, 2023 · 0 comments · Fixed by #5441
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@oguzkurtcuoglu
Copy link

Describe the bug

When I try to add custom className to the component, it is added twice.

image
image

Reproducer

No response

PrimeReact version

10.1.1

React version

18.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

The added className value should be added once to the HTML input element's class attribute.

@oguzkurtcuoglu oguzkurtcuoglu 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 28, 2023
@melloware melloware self-assigned this Nov 28, 2023
@melloware melloware added Type: Bug Issue contains a defect related to a specific component. 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 28, 2023
@melloware melloware added this to the 10.2.2 milestone Nov 28, 2023
melloware added a commit to melloware/primereact that referenced this issue Nov 28, 2023
@melloware melloware modified the milestones: 10.2.2, 10.3.0 Nov 29, 2023
melloware added a commit to melloware/primereact that referenced this issue Jan 9, 2024
melloware added a commit that referenced this issue Jan 9, 2024
* Fix #5384: TreeTable support hidden columns

* fix:#5553:TreeTable: need to be converted to data- lookups instead of className lookups

* TreeTable

* Fix #5597: TreeTable body align

* Fix #5393: Tree propagate icons to leaf nodes

* Fix #5233: Cell editor ColumnEditorOptions param fix

* Fix #5398: Slider with min value rendered incorrectly

* Fix #5340: MutliSelect emptyMessage don't add to DOM

* Fix #4190: Chip aria fixes

* Fix #5414: p-disabled for svg icons

* Fix #5424: CascadeSelect use data instead of CSS selector

* Fix #5425: CascadeSelect fix for StrictMode

* Fix #5440: InputText only print className once
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