web/elements: fix ak-wizard-page-form not setting valid
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
96f39904b8
commit
a6d3fd92df
|
@ -6,8 +6,15 @@ import { customElement } from "lit/decorators.js";
|
||||||
|
|
||||||
import { WizardPage } from "./WizardPage";
|
import { WizardPage } from "./WizardPage";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This Wizard page is used for proxy forms with the older-style
|
||||||
|
* wizards
|
||||||
|
*/
|
||||||
@customElement("ak-wizard-page-form")
|
@customElement("ak-wizard-page-form")
|
||||||
export class FormWizardPage extends WizardPage {
|
export class FormWizardPage extends WizardPage {
|
||||||
|
activeCallback = async () => {
|
||||||
|
this.host.isValid = true;
|
||||||
|
};
|
||||||
nextCallback = async () => {
|
nextCallback = async () => {
|
||||||
const form = this.querySelector<Form<unknown>>("*");
|
const form = this.querySelector<Form<unknown>>("*");
|
||||||
if (!form) {
|
if (!form) {
|
||||||
|
|
|
@ -58,7 +58,7 @@ slug: "2022.7"
|
||||||
- web/elements: add spinner when loading dynamic routes
|
- web/elements: add spinner when loading dynamic routes
|
||||||
- web/flows: add divider to identification stage for security key
|
- web/flows: add divider to identification stage for security key
|
||||||
- web/flows: fix error when webauthn operations failed and user retries
|
- 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
|
- web/flows: statically import webauthn-related stages for safari issues
|
||||||
|
|
||||||
## Upgrading
|
## Upgrading
|
||||||
|
|
Reference in a new issue