You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[disabled]="true" causes a fatal error (see below)
Can't bind to 'disabled' since it isn't a known property of 'nz-tag'.
1. If 'nz-tag' is an Angular component and it has 'disabled' input, then verify that it is
part of this module.
2. If 'nz-tag' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.
Environment
Info
ng-zorro-antd
9.3.0
Browser
Chrome
Disabled appears to have been implemented in #2922 but it doesn't work on at least nz-tag
The text was updated successfully, but these errors were encountered:
Reproduction link
https://stackblitz.com/edit/angular-ry15ho?embed=1&file=src/app/app.component.ts
Steps to reproduce
Add
disabled
or[disabled]="true"
to<nz-tag>
What is expected?
It's expected to disable (visual and functional) the tag like it does for buttons https://ng.ant.design/components/button/en#components-button-demo-disabled
What is actually happening?
disabled
have no effect[@.disabled]="true"
have no effect[disabled]="true"
causes a fatal error (see below)Disabled appears to have been implemented in #2922 but it doesn't work on at least
nz-tag
The text was updated successfully, but these errors were encountered: