web: rename Form.reset to resetForm to prevent t.form is not a function error

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-06-06 19:28:16 +02:00
parent fceab788d2
commit a36e3aa3a4
5 changed files with 6 additions and 6 deletions

View File

@ -79,7 +79,7 @@ export class Form<T> extends LitElement {
/**
* Reset the inner iron-form
*/
reset(): void {
resetForm(): void {
const ironForm = this.shadowRoot?.querySelector("iron-form");
ironForm?.reset();
}