File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 33 <q-stepper
44 animated
55 class =" transparent"
6+ active-color =" dark"
67 done-color =" primary"
78 error-color =" negative"
89 inactive-color =" grey-7"
1314 >
1415 <q-step
1516 v-for =" (step, stepIndex) in stepNames"
16- v-bind:active-icon =" activeIcon(errorPerStep[step].value, step)"
17+ v-bind:active-icon =" activeIcon(currentStepIndex > stepIndex && errorPerStep[step].value, step)"
1718 v-bind:aria-label =" toLabel(step)"
18- v-bind:caption =" stepIndex < 2 ? 'required' : ''"
19+ v-bind:caption =" stepIndex < 2 ? 'required' : 'optional '"
1920 v-bind:data-cy =" `step-${step}`"
2021 v-bind:done =" currentStepIndex > stepIndex"
21- v-bind:error =" errorPerStep[step].value"
22+ v-bind:error =" currentStepIndex > stepIndex && errorPerStep[step].value"
2223 v-bind:key =" step"
2324 v-bind:name =" step"
2425 v-bind:order =" stepIndex"
You can’t perform that action at this time.
0 commit comments