Skip to content

Commit

Permalink
Update projects/valtimo/form-view-model/src/lib/components/form-view-…
Browse files Browse the repository at this point in the history
…model/form-view-model.component.ts

Co-authored-by: teodor-ritense <[email protected]>
  • Loading branch information
laurens-ritense and teodor-ritense authored Nov 11, 2024
1 parent 9366453 commit c087121
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,13 +240,13 @@ export class FormViewModelComponent implements OnInit {
}
}

public onNextPage(event: any): void {
public onNextPage(): void {
this._preventNextPage = true;
this.formio.formio.setPage(this.formio.formio.page - 1);
this.handleChanges();
}

public onPreviousPage(event: any): void {
public onPreviousPage(): void {
this._preventPreviousPage = true;
this.formio.formio.setPage(this.formio.formio.page + 1);
this.handleChanges();
Expand Down

0 comments on commit c087121

Please sign in to comment.