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/input/doc/index.en-US.md
+26-26Lines changed: 26 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,33 +19,33 @@ import { NzInputModule } from 'ng-zorro-antd/input';
19
19
20
20
## API
21
21
22
-
### [nz-input]
22
+
### [nz-input]:standalone
23
23
24
24
All props of input supported by [w3c standards](https://www.w3schools.com/tags/tag_input.asp) and Angular can used in `nz-input`.
25
25
26
-
| Property | Description | Type | Default |
27
-
| -------- | ----------- | ---- | ------- |
28
-
|`[nzSize]`| The size of the input box. Note: in the context of a form, the `large` size is used. |`'large' \| 'small' \| 'default'`|`'default'`|
29
-
|`[nzAutosize]`| Only used for `textarea`, height autosize feature, can be set to `boolean` or an object `{ minRows: 2, maxRows: 6 }`|`boolean \| { minRows: number, maxRows: number }`|`false`|
|`[nzStatus]`| Set validation status |`'error' \| 'warning'`| - |
32
-
|`[nzStepperless]`| Whether hide stepper when input type is number |`'boolean' \| 'true'`| - |
33
-
34
-
### nz-input-group
35
-
36
-
| Property | Description | Type | Default |
37
-
| -------- | ----------- | ---- | ------- |
38
-
|`[nzAddOnAfter]`| The label text displayed after (on the right side of) the input field, can work with `nzAddOnBefore`|`string \| TemplateRef<void>`| - |
39
-
|`[nzAddOnBefore]`| The label text displayed before (on the left side of) the input field, can work with `nzAddOnAfter`|`string \| TemplateRef<void>`| - |
40
-
|`[nzPrefix]`| The prefix icon for the Input, can work with `nzSuffix`|`string \| TemplateRef<void>`| - |
41
-
|`[nzSuffix]`| The suffix icon for the Input, can work with `nzPrefix`|`string \| TemplateRef<void>`| - |
42
-
|`[nzCompact]`| Whether use compact style |`boolean`|`false`|
43
-
|`[nzSize]`| The size of `nz-input-group` specifies the size of the included `nz-input` fields |`'large' \| 'small' \| 'default'`|`'default'`|
44
-
|`[nzStatus]`| Set validation status |`'error' \| 'warning'`| - |
45
-
46
-
### nz-textarea-count
47
-
48
-
| Property | Description | Type | Default |
49
-
| --- | --- | --- | --- |
50
-
|`[nzMaxCharacterCount]`|`textarea` maximum character count displayed |`number`| - |
|`[nzSize]`| The size of the input box. Note: in the context of a form, the `large` size is used. |`'large' \| 'small' \| 'default'`|`'default'`|
29
+
|`[nzAutosize]`| Only used for `textarea`, height autosize feature, can be set to `boolean` or an object `{ minRows: 2, maxRows: 6 }`|`boolean \| { minRows: number, maxRows: number }`|`false`|
|`[nzAddOnAfter]`| The label text displayed after (on the right side of) the input field, can work with `nzAddOnBefore`|`string \| TemplateRef<void>`| -|
39
+
|`[nzAddOnBefore]`| The label text displayed before (on the left side of) the input field, can work with `nzAddOnAfter`|`string \| TemplateRef<void>`| -|
40
+
|`[nzPrefix]`| The prefix icon for the Input, can work with `nzSuffix`|`string \| TemplateRef<void>`| -|
41
+
|`[nzSuffix]`| The suffix icon for the Input, can work with `nzPrefix`|`string \| TemplateRef<void>`| -|
42
+
|`[nzCompact]`| Whether use compact style |`boolean`|`false`|
43
+
|`[nzSize]`| The size of `nz-input-group` specifies the size of the included `nz-input` fields|`'large' \| 'small' \| 'default'`|`'default'`|
44
+
|`[nzStatus]`| Set validation status |`'error' \| 'warning'`| -|
0 commit comments