StepList and StepPanels: Different type than of Stepper, Step and StepPanel #6059
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
The type of the value parameter on StepList and StepPanels is only string while it is string | number on Stepper, Step and StepPanel.
In exemple this "value" parameter on StepList and StepPanels seems optional and not used but typescript complains it is mandatory and cannot be a number.
I believe this problem was introduced in RC2 or RC3.
Reproducer
No stackblitz necessary
PrimeVue version
4.0.0
Vue version
4.x
Language
TypeScript
Build / Runtime
TypeScript
Browser(s)
Irrevelant since it's a typescript validation problem
Steps to reproduce the behavior
No response
Expected behavior
The parameter types match in all the Stepper component and number is usable so that numerical comparison and enums can be properly used as steps. numerical comparisons are helpful to determine available steps.
The text was updated successfully, but these errors were encountered: