adam-marshall

Results 9 comments of adam-marshall

just to add my use case in here... so I have a workflow where a user authenticates, and then once logged in their configuration is requested over HTTP. this configuration...

I also encountered this. My use case was styling a custom 'inner' control made of multiple inputs when invalid and touched. Calling `form.markAllAsTouched()` on the parent form sets the 'outer'...

The `this.formArray.controls.findIndex(control => control === myControl)` works for me, but it can be particularly painful for nested groups of controls. E.g. finding the arrayIndex where the array contains a group,...

This still seems to be an issue. Has anyone attempted to resolve this by using a ControlValueAccessor approach?

We stepped through as it seems the `FroalaEditorDirective` is a ControlValueAccessor already so we really wanted to get it working using `[formControl]`. As pointed out in the original post, `[froalaView]`...

I can manage to get `viewProviders: [{ provide: ControlContainer, useExisting: FormGroupDirective }]` working such that `[formGroup]` is on the parent component, and `[formControlName]` is on the child, and all works...

> Any ideas? In case anyone cares, I managed to get rid of the repetition part by using templating in combination with content projection, both together (couldn't use content projection...