ticxx

Results 4 comments of ticxx

Unfortunately some controls have structural problems with disable/enable. To reproduce this (on a click handler): ``` disableForm() { this.formModel.forEach( (model: DynamicFormControlModel) => { model.disabled = true; }); // does not...

as far as i know it needs a [custom-validator](https://github.com/udos86/ng-dynamic-forms#custom-validators) on the group. in this validator can then be iterated over the controls of the group. ``` export function myCustomValidator(control: AbstractControl):...

A possible solution could be something like this: ``` disableForm() { this.formModel.forEach( (model: DynamicFormControlModel) => { model.disabled = true; }); this.formService.detectChanges(); } ``` see (https://github.com/udos86/ng-dynamic-forms/issues/1099#issuecomment-675989769) also relations can overwrite the...

Hi, I have the same behaviour in version 2.8.10 using spring boot. Is this a known bug? Thanks ticxx