Stepper: onChangeStep function not initially set #6949
Labels
good first issue
*** Welcome to PrimeReact Family! *** Good issue!
Type: Bug
Issue contains a defect related to a specific component.
Milestone
Describe the bug
The Stepper component does not initially have the onChangeStep function set which results in a warning message "Unknown event handler property
onChangeStep
. It will be ignored."Once the component has rendered and changes are performed, the component works as normal.
Reproducer
https://stackblitz.com/edit/8ur8c3?file=src%2FApp.jsx
System Information
System:
OS: Windows 11 10.0.22631
CPU: (20) x64 13th Gen Intel(R) Core(TM) i7-1370P
Memory: 5.65 GB / 31.66 GB
Binaries:
Node: 20.11.0 - C:\Program Files\nodejs\node.EXE
npm: 10.8.2 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Chromium (127.0.2651.74)
Internet Explorer: 11.0.22621.3527
npmPackages:
primereact: ^10.8.0 => 10.8.0
react: ^18 => 18.2.0
Steps to reproduce the behavior
Expected behavior
No response
The text was updated successfully, but these errors were encountered: