Skip to content

Commit

Permalink
fix(module:input):fix nz-input's nzSize not work when nz-input not se…
Browse files Browse the repository at this point in the history
…t nzDisabled property (#209)

close #208
  • Loading branch information
gsbybb authored and vthinkxie committed Sep 1, 2017
1 parent 414241c commit 23bdc08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/input/nz-input.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ export class NzInputComponent implements AfterContentInit, ControlValueAccessor

set nzSize(value: string) {
this._size = { large: 'lg', small: 'sm' }[ value ];
this.setClassMap();
}

@Input()
Expand Down

0 comments on commit 23bdc08

Please sign in to comment.