Skip to content

Commit

Permalink
fix(module:input): fix disable bug in reactive form (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
t1mer committed Aug 29, 2017
1 parent 8bbc82a commit a684952
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/input/nz-input.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,4 +190,8 @@ export class NzInputComponent implements AfterContentInit, ControlValueAccessor
registerOnTouched(fn: () => {}): void {
this.onTouched = fn;
}

setDisabledState(isDisabled: boolean): void {
this.nzDisabled = isDisabled;
}
}

0 comments on commit a684952

Please sign in to comment.