web/elements: fix error when resetting a proxyform
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
a7d9857a69
commit
884c91062d
|
@ -18,7 +18,7 @@ export class ProxyForm extends Form<unknown> {
|
||||||
}
|
}
|
||||||
|
|
||||||
reset(): void {
|
reset(): void {
|
||||||
(this.shadowRoot?.firstElementChild as Form<unknown>).reset();
|
(this.shadowRoot?.firstElementChild as Form<unknown> | undefined)?.reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
getSuccessMessage(): string {
|
getSuccessMessage(): string {
|
||||||
|
|
Reference in a new issue