web/admin: fix wizards with radio selects not working correctly after use (#4933)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L
2023-03-13 23:42:52 +01:00
committed by GitHub
parent 0a9482b28a
commit 2d55d3c743
6 changed files with 6 additions and 6 deletions

View File

@ -36,7 +36,7 @@ export class InitialServiceConnectionWizardPage extends WizardPage {
?.querySelectorAll<HTMLInputElement>("input[type=radio]")
.forEach((radio) => {
if (radio.checked) {
this.host.isValid = true;
radio.dispatchEvent(new CustomEvent("change"));
}
});
};