Feature Request: Support for Disabling p-stepperPanel in p-stepper #2428
Unanswered
otaldopira
asked this question in
PrimeNG
Replies: 2 comments 3 replies
-
I second this ! |
Beta Was this translation helpful? Give feedback.
0 replies
-
I was able to disable/enable the entire p-stepper by setting
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I would like to request a new feature for the p-stepper component in PrimeNG. Currently, there is no support for dynamically disabling or removing p-stepperPanel.
Use Case
In my application, I need a dynamic p-stepper where the number of steps can change based on user inputs. Depending on the responses given, steps (i.e., p-stepperPanel elements) should be added or removed.
I attempted to use conditional rendering with *ngIf, but this approach does not work as expected. The p-stepperPanel elements are rendered based on the initial condition, and when the value changes, the stepper does not properly update to reflect the addition or removal of steps.
Beta Was this translation helpful? Give feedback.
All reactions