Skip to content

Commit

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

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

0 comments on commit 0632fe1

Please sign in to comment.