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
Copy file name to clipboardExpand all lines: components/form/doc/index.en-US.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,7 @@ import { NzFormModule } from 'ng-zorro-antd/form';
58
58
|`[nzDisableAutoTips]`| Set default props `[nzDisableAutoTip]` value of `nz-form-control`|`boolean`|`false`| ✅ |
59
59
|`[nzNoColon]`| Set default props `[nzNoColon]` value of `nz-form-label`|`boolean`|`false`| ✅ |
60
60
|`[nzTooltipIcon]`| Set default props `[nzTooltipIcon]` value of `nz-form-label`|`string \| { type: string; theme: ThemeType }`|`{ type: 'question-circle', theme: 'outline' }`| ✅ |
61
+
|`[nzLabelAlign]`| Set default props `[nzLabelAlign]` value of `nz-form-label`|`'left' \| 'right'`|`'right'`|
61
62
62
63
### nz-form-item
63
64
@@ -78,6 +79,8 @@ The label of the form item, optional.
78
79
|`[nzFor]`| The `for` property of `label`|`string`| - |
79
80
|`[nzTooltipTitle]`| Set tooltip info |`string \| TemplateRef<void>`| - |
80
81
|`[nzTooltipIcon]`| Set icon of tooltip info |`string \| NzFormTooltipIcon`| - |
82
+
|`[nzLabelAlign]`| The text align of label |`'left' \| 'right'`|`'right'`|
83
+
81
84
82
85
### nz-form-control
83
86
> Note:Due to the lack of partial Observable in [Angular Form](https://github.com/angular/angular/issues/10887), you have to notify `nz-form-control` to update its status with `updateValueAndValidity` when you update form status using methods like `markAsDirty`.
0 commit comments