From 78f7eb4345ca26334d1cb713a438c37c962f1bc2 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 27 Dec 2022 20:21:58 +0100 Subject: [PATCH] web/elements: fix wizard form page changing state before being active Signed-off-by: Jens Langhammer --- web/src/elements/wizard/WizardFormPage.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/web/src/elements/wizard/WizardFormPage.ts b/web/src/elements/wizard/WizardFormPage.ts index 9983d7874..85acc4b25 100644 --- a/web/src/elements/wizard/WizardFormPage.ts +++ b/web/src/elements/wizard/WizardFormPage.ts @@ -67,10 +67,9 @@ export class WizardFormPage extends WizardPage { return html``; } - firstUpdated(): void { + activeCallback = async () => { this.inputCallback(); - this.host.isValid = false; - } + }; render(): TemplateResult { return html`