diff --git a/web/src/elements/forms/ModelForm.ts b/web/src/elements/forms/ModelForm.ts index bc272990d..a93750d75 100644 --- a/web/src/elements/forms/ModelForm.ts +++ b/web/src/elements/forms/ModelForm.ts @@ -37,6 +37,11 @@ export abstract class ModelForm extends Form }); } + resetForm(): void { + super.resetForm(); + this._initialLoad = false; + } + render(): TemplateResult { // if we're in viewport now and haven't loaded AND have a PK set, load now if (this.isInViewport && !this._initialLoad && this._instancePk) {