Skip to content

Commit

Permalink
fix(core): mark defaultOptions as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
aitboudad committed Mar 13, 2022
1 parent 781d6a7 commit c71d799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/src/lib/templates/field.type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export interface FieldGroupTypeConfig extends FormlyFieldConfig {

export abstract class FieldType<F extends FormlyFieldConfig = FormlyFieldConfig> {
@Input() field: F;
defaultOptions?: F;
defaultOptions?: Partial<F>;

@Input()
get model() { return this.field.model; }
Expand Down

0 comments on commit c71d799

Please sign in to comment.