diff --git a/web/projects/ui/src/app/components/form.component.ts b/web/projects/ui/src/app/components/form.component.ts index 93f65115a..e8f8b3f76 100644 --- a/web/projects/ui/src/app/components/form.component.ts +++ b/web/projects/ui/src/app/components/form.component.ts @@ -123,10 +123,7 @@ export class FormComponent> implements OnInit { } onReset() { - const { value } = this.form - this.form = this.formService.createForm(this.spec) - this.process(compare(this.form.value, value)) tuiMarkControlAsTouchedAndValidate(this.form) this.markAsDirty() } diff --git a/web/projects/ui/src/app/components/form/form-toggle/form-toggle.component.html b/web/projects/ui/src/app/components/form/form-toggle/form-toggle.component.html index 73d116f92..08a33afe4 100644 --- a/web/projects/ui/src/app/components/form/form-toggle/form-toggle.component.html +++ b/web/projects/ui/src/app/components/form/form-toggle/form-toggle.component.html @@ -5,6 +5,7 @@ >