Skip to content

Commit

Permalink
fix(core): set static flag to false for ivy support (#1893)
Browse files Browse the repository at this point in the history
  • Loading branch information
aitboudad committed Nov 1, 2019
1 parent 71cd095 commit 9a63c3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/src/lib/templates/field.wrapper.ts
Expand Up @@ -4,5 +4,5 @@ import { FormlyFieldConfig } from '../components/formly.field.config';

export abstract class FieldWrapper<F extends FormlyFieldConfig = FormlyFieldConfig> extends FieldType<F> {
// TODO: remove `any`, once dropping angular `V7` support.
@ViewChild('fieldComponent', <any>{ read: ViewContainerRef, static: true }) fieldComponent: ViewContainerRef;
@ViewChild('fieldComponent', <any>{ read: ViewContainerRef, static: false }) fieldComponent: ViewContainerRef;
}

0 comments on commit 9a63c3e

Please sign in to comment.