Force form validation in configuration

pull/376/merge
Chocobozzz 2018-03-23 09:31:42 +01:00
parent 3660d6c3c7
commit d63fd4f7b1
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 0 deletions

View File

@ -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)