web/admin: don't use form.reset() for ModelForms, reset instance
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
2c9b596f01
commit
6a4ddcaba7
|
@ -39,7 +39,7 @@ export abstract class ModelForm<T, PKT extends string | number> extends Form<T>
|
|||
}
|
||||
|
||||
resetForm(): void {
|
||||
super.resetForm();
|
||||
this.instance = undefined;
|
||||
this._initialLoad = false;
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue