From 2d4ed2dacc1f5f28b8a6fc6b51fbc032bb480950 Mon Sep 17 00:00:00 2001 From: Andrey Medvedev <51256469+meddvedev@users.noreply.github.com> Date: Sat, 3 Aug 2024 18:54:19 +0300 Subject: [PATCH] Fix #6949: Stepper: onChangeStep function not initially set (#6982) * Fix primefaces#6949: Stepper: onChangeStep function not initially set * Update components/lib/stepper/StepperBase.js --------- Co-authored-by: Melloware --- components/lib/stepper/StepperBase.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/lib/stepper/StepperBase.js b/components/lib/stepper/StepperBase.js index cef5634ebb..de2c602d20 100644 --- a/components/lib/stepper/StepperBase.js +++ b/components/lib/stepper/StepperBase.js @@ -107,7 +107,8 @@ export const StepperBase = ComponentBase.extend({ __TYPE: 'Stepper', activeStep: 0, orientation: 'horizontal', - linear: false + linear: false, + onChangeStep: null }, css: { classes,