Skip to content

Commit 9c98bc6

Browse files
committed
fix: fix doc for get-length
1 parent 1f37be0 commit 9c98bc6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

one/docs/components/input.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
| ``composition`` | `boolean=` | `false` | 是否感知输入法输入过程的值。 |
4949
| ``select-on-focus`` | `boolean=` | `false` | 聚焦时是否自动选中输入框文本。 |
5050
| ``maxlength`` | `number=` | - | 最大可输入的字符长度。 |
51-
| ``get-length`` | `function(string): number=` | 自定义的字符长度计算函数。 |
51+
| ``get-length`` | `function(string): number=` | - | 自定义的字符长度计算函数。 |
5252
| ``strict`` | `boolean=` | `false` | 是否超出最大字符长度后不允许继续输入。 |
5353
| ``trim`` | `boolean | string=` | `false` | [^trim] |
5454

one/docs/components/search-box.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
| ``suggestions`` | `Array<string>|Array<Object>` | - | [^suggestions] |
4141
| ``replace-on-select`` | `boolean` | `true` | 选择推荐项时是否自动使用其内容填充文本框。 |
4242
| ``maxlength`` | `number=` | - | 最大可输入的字符长度。 |
43-
| ``get-length`` | `function(string): number=` | 自定义的字符长度计算函数。 |
43+
| ``get-length`` | `function(string): number=` | - | 自定义的字符长度计算函数。 |
4444
| ``strict`` | `boolean=` | `false` | 是否超出最大字符长度后不允许继续输入。 |
4545
| ``trim`` | `boolean | string=` | `false` | [^trim] |
4646
| ``suggest-trigger`` | `Array<string>|string` | `input` | [^suggest-trigger] |

one/docs/en-US/components/input.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Use the [`disabled`](#props-disabled) prop to set an input to disabled state.
3636
| ``composition`` | `boolean=` | `false` | Whether the input process should be aware of composition. |
3737
| ``select-on-focus`` | `boolean=` | `false` | Whether to select text content when focused. |
3838
| ``maxlength`` | `number=` | - | The maximum length of characters that can be entered. |
39-
| ``get-length`` | `function(string): number=` | Used to customize length calculation of the input. |
39+
| ``get-length`` | `function(string): number=` | - | Used to customize length calculation of the input. |
4040
| ``strict`` | `boolean=` | `false` | Whether to disallow further input after reaching the maximum character length. |
4141
| ``trim`` | `boolean | string=` | `false` | [^trim] |
4242

one/docs/en-US/components/search-box.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Available size values for the [`ui`](#props-ui) prop: `xs` / `s` / `m` / `l`.
4040
| ``suggestions`` | `Array<string>|Array<Object>` | - | [^suggestions] |
4141
| ``replace-on-select`` | `boolean` | `true` | Whether to replace the content with suggestion item value when it's selected. |
4242
| ``maxlength`` | `number=` | - | The maximum length of characters that can be entered. |
43-
| ``get-length`` | `function(string): number=` | Used to customize length calculation of the input. |
43+
| ``get-length`` | `function(string): number=` | - | Used to customize length calculation of the input. |
4444
| ``strict`` | `boolean=` | `false` | Whether to disallow further input after reaching the maximum character length. |
4545
| ``trim`` | `boolean | string=` | `false` | [^trim] |
4646
| ``suggest-trigger`` | `Array<string>|string` | `input` | [^suggest-trigger] |

0 commit comments

Comments
 (0)