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
<nz-form-item><nz-form-label>IP</nz-form-label><nz-form-control[nzErrorTip]="errorTpl" [nzTplContext]="{name: 'ip'}"><inputformControlName="ip" nz-inputplaceholder="please enter ip" /></nz-form-control></nz-form-item><nz-form-item><nz-form-label>Name</nz-form-label><nz-form-control[nzErrorTip]="errorTpl" [nzTplContext]="{name: 'name'}"><inputformControlName="name" nz-inputplaceholder="please enter name" /></nz-form-control></nz-form-item><ng-template#errorTpllet-controllet-name="name"><ng-container*ngIf="control.hasError('required')">
Please confirm your {{name}}!
</ng-container></ng-template>
```<!-- generated by ng-zorro-issue-helper. DO NOT REMOVE -->
The text was updated successfully, but these errors were encountered:
Can let nz-form-control context to accept the custom to make ErrorTip more versatile.
What problem does this feature solve?
context now nz-form-control in ErrorTip Template in only the current FormControl, if you can add some custom properties such as the Input Label, this template can be more versatile.
What problem does this feature solve?
现在的nz-form-control中ErrorTip Template的context中只有当前的FormControl, 如果可以加上自定义的一些属性比如Input的Label,这样模板可以更加通用。
What does the proposed API look like?
The text was updated successfully, but these errors were encountered: