From d63fd4f7b1e41ef7b05fd97abff5c4cebbea63df Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 23 Mar 2018 09:31:42 +0100 Subject: Force form validation in configuration --- .../+admin/config/edit-custom-config/edit-custom-config.component.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/src/app/+admin') diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts index 9ab8b08d0..d73ee71e4 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts @@ -123,6 +123,8 @@ export class EditCustomConfigComponent extends FormReactive implements OnInit { this.oldCustomJavascript = this.customConfig.instance.customizations.javascript this.updateForm() + // Force form validation + this.forceCheck() }, err => this.notificationsService.error('Error', err.message) -- cgit v1.2.3