Skip to content

Commit

Permalink
fix: default input config to empty object
Browse files Browse the repository at this point in the history
  • Loading branch information
felixroos committed Feb 1, 2019
1 parent 34209ac commit 46d4a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/lib/io/input/input.component.ts
Expand Up @@ -66,7 +66,7 @@ export class InputComponent extends DynamicSlotComponent implements ControlValue
item: this.item,
field: this.field,
input: this,
config: this.config || this.field.config
config: this.config || this.field.config || {}
};

const componentRef = this.loadComponent(this.component || this.field.input || DefaultInputComponent, data);
Expand Down

0 comments on commit 46d4a1f

Please sign in to comment.