web/elements: fix ak-wizard-page-form not setting valid

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-06-30 12:35:37 +02:00
parent 96f39904b8
commit a6d3fd92df
2 changed files with 8 additions and 1 deletions

View File

@ -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<Form<unknown>>("*");
if (!form) {

View File

@ -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