File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 144144 </template >
145145
146146 <template #prev >
147- <!-- :disabled="((stepperActionsDisabled === 'prev' || settings.disabled || canReviewPreviousButtonDisabled) as boolean)" -->
148147 <v-btn
149148 data-cy =" vsf-previous-button"
150149 :disabled =" prevButtonDisabled"
@@ -630,16 +629,15 @@ function callbacks() {
630629
631630// ------------------------ Conditional "when" callbacks //
632631const computedPages = computed <Page []>(() => {
633- // const localPages = JSON.parse(JSON.stringify(pages));
634632 Object .values (pages .value ).forEach ((page : Page , pageIdx : number ) => {
635633 const localPage = page ;
636634 localPage .visible = true ;
637635
638636 if (localPage .when ) {
639637 const enabledPage: boolean = (localPage .when as (value : any ) => boolean )($useForm .values );
640638
641- if (pages [pageIdx ]) {
642- pages [pageIdx ].visible = enabledPage ;
639+ if (pages . value [pageIdx ]) {
640+ pages . value [pageIdx ].visible = enabledPage ;
643641 }
644642 }
645643 });
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ export interface Field {
105105 errorMessages ?: string | string [ ] ;
106106 hidden ?: boolean ;
107107 hideDetails ?: GlobalHideDetails ;
108- id ?: string ;
108+ id ?: string | number ;
109109 inline ?: boolean ; // ? Checkboxes //
110110 inlineSpacing ?: string ; // ? Checkboxes //
111111 items ?: readonly any [ ] | undefined ;
You can’t perform that action at this time.
0 commit comments