From a6d3fd92df1ce6fc99069b26e13bab4c947f1fb0 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 30 Jun 2022 12:35:37 +0200 Subject: [PATCH] web/elements: fix ak-wizard-page-form not setting valid Signed-off-by: Jens Langhammer --- web/src/elements/wizard/FormWizardPage.ts | 7 +++++++ website/docs/releases/v2022.7.md | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/web/src/elements/wizard/FormWizardPage.ts b/web/src/elements/wizard/FormWizardPage.ts index ef3544178..a694f0610 100644 --- a/web/src/elements/wizard/FormWizardPage.ts +++ b/web/src/elements/wizard/FormWizardPage.ts @@ -6,8 +6,15 @@ import { customElement } from "lit/decorators.js"; import { WizardPage } from "./WizardPage"; +/** + * This Wizard page is used for proxy forms with the older-style + * wizards + */ @customElement("ak-wizard-page-form") export class FormWizardPage extends WizardPage { + activeCallback = async () => { + this.host.isValid = true; + }; nextCallback = async () => { const form = this.querySelector>("*"); if (!form) { diff --git a/website/docs/releases/v2022.7.md b/website/docs/releases/v2022.7.md index c3adaf04a..869ac599c 100644 --- a/website/docs/releases/v2022.7.md +++ b/website/docs/releases/v2022.7.md @@ -58,7 +58,7 @@ slug: "2022.7" - web/elements: add spinner when loading dynamic routes - web/flows: add divider to identification stage for security key - web/flows: fix error when webauthn operations failed and user retries -- web/flows: remove autofocus from password field of identifications tage +- web/flows: remove autofocus from password field of identifications stage - web/flows: statically import webauthn-related stages for safari issues ## Upgrading