-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] type mismatch in NzInputComponent #271
Comments
This was referenced Sep 11, 2017
it is not a mismatch, it is just a hack, with this code <nz-input [(ngModel)]="inputValueOne" nzType="textarea" nzAutosize nzPlaceHolder="Autosize height based on content lines"></nz-input> |
@vthinkxie Got it,thanks! |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm submitting a...
Current behavior
ERROR in /ng-zorro-antd/src/components/input/nz-input.component.ts (149,7): Type 'string | boolean | AutoSizeType' is not assignable to type 'boolean | AutoSizeType'.
Type 'string' is not assignable to type 'boolean | AutoSizeType'.
ERROR in /ng-zorro-antd/src/components/input/nz-input.directive.component.ts (72,7): Type 'string | boolean | AutoSizeType' is not assignable to type 'boolean | AutoSizeType'.
Type 'string' is not assignable to type 'boolean | AutoSizeType'.
Expected behavior
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Environment
The text was updated successfully, but these errors were encountered: