web: fix t.reset is not a function
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
@ -76,10 +76,7 @@ export class Form<T> extends LitElement {
|
||||
*/
|
||||
reset(): void {
|
||||
const ironForm = this.shadowRoot?.querySelector("iron-form");
|
||||
if (!ironForm) {
|
||||
return;
|
||||
}
|
||||
ironForm.reset();
|
||||
ironForm?.reset();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user