When I want to hide/show the red * in FormItem label, I can't do it by this directive, for, the source code function NzFormItemRequiredDirective : this.nzRequired = true;
[nzFormItemRequired]="required"
just set [nzRequired]="false"
You can do this using [ngClass]="{'ant-form-item-required':required}"
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.
Most helpful comment
You can do this using
[ngClass]="{'ant-form-item-required':required}"