Checkbox: Component fail to render when using the state on pt property #6291
Labels
Type: Breaking Change
Issue contains a breaking change related to a specific component
Type: Bug
Issue contains a defect related to a specific component.
Describe the bug
The component fail to render and raise an exception that broke the page when the property "pt" has any state related.
It can also be observed when go to the documentation https://primereact.org/checkbox/ and click into the "PASS THROUGH" tab.
The sample below was working on version 10.5.1, but not working on 10.5.2 or 10.6.2 :
Reproducer
https://stackblitz.com/edit/964dj2?file=src%2FApp.jsx
PrimeReact version
10.5.2
React version
18.x
Language
ALL
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
No response
The text was updated successfully, but these errors were encountered: