diff --git a/one/docs/components/input.md b/one/docs/components/input.md index a89a2fe..022b225 100644 --- a/one/docs/components/input.md +++ b/one/docs/components/input.md @@ -48,7 +48,7 @@ | ``composition`` | `boolean=` | `false` | 是否感知输入法输入过程的值。 | | ``select-on-focus`` | `boolean=` | `false` | 聚焦时是否自动选中输入框文本。 | | ``maxlength`` | `number=` | - | 最大可输入的字符长度。 | -| ``get-length`` | `function(string): number=` | 自定义的字符长度计算函数。 | +| ``get-length`` | `function(string): number=` | - | 自定义的字符长度计算函数。 | | ``strict`` | `boolean=` | `false` | 是否超出最大字符长度后不允许继续输入。 | | ``trim`` | `boolean | string=` | `false` | [^trim] | diff --git a/one/docs/components/search-box.md b/one/docs/components/search-box.md index ad191d9..d7ce0f6 100644 --- a/one/docs/components/search-box.md +++ b/one/docs/components/search-box.md @@ -40,7 +40,7 @@ | ``suggestions`` | `Array|Array` | - | [^suggestions] | | ``replace-on-select`` | `boolean` | `true` | 选择推荐项时是否自动使用其内容填充文本框。 | | ``maxlength`` | `number=` | - | 最大可输入的字符长度。 | -| ``get-length`` | `function(string): number=` | 自定义的字符长度计算函数。 | +| ``get-length`` | `function(string): number=` | - | 自定义的字符长度计算函数。 | | ``strict`` | `boolean=` | `false` | 是否超出最大字符长度后不允许继续输入。 | | ``trim`` | `boolean | string=` | `false` | [^trim] | | ``suggest-trigger`` | `Array|string` | `input` | [^suggest-trigger] | diff --git a/one/docs/en-US/components/input.md b/one/docs/en-US/components/input.md index f6257b0..e6cd9c1 100644 --- a/one/docs/en-US/components/input.md +++ b/one/docs/en-US/components/input.md @@ -36,7 +36,7 @@ Use the [`disabled`](#props-disabled) prop to set an input to disabled state. | ``composition`` | `boolean=` | `false` | Whether the input process should be aware of composition. | | ``select-on-focus`` | `boolean=` | `false` | Whether to select text content when focused. | | ``maxlength`` | `number=` | - | The maximum length of characters that can be entered. | -| ``get-length`` | `function(string): number=` | Used to customize length calculation of the input. | +| ``get-length`` | `function(string): number=` | - | Used to customize length calculation of the input. | | ``strict`` | `boolean=` | `false` | Whether to disallow further input after reaching the maximum character length. | | ``trim`` | `boolean | string=` | `false` | [^trim] | diff --git a/one/docs/en-US/components/search-box.md b/one/docs/en-US/components/search-box.md index 66241f6..087a634 100644 --- a/one/docs/en-US/components/search-box.md +++ b/one/docs/en-US/components/search-box.md @@ -40,7 +40,7 @@ Available size values for the [`ui`](#props-ui) prop: `xs` / `s` / `m` / `l`. | ``suggestions`` | `Array|Array` | - | [^suggestions] | | ``replace-on-select`` | `boolean` | `true` | Whether to replace the content with suggestion item value when it's selected. | | ``maxlength`` | `number=` | - | The maximum length of characters that can be entered. | -| ``get-length`` | `function(string): number=` | Used to customize length calculation of the input. | +| ``get-length`` | `function(string): number=` | - | Used to customize length calculation of the input. | | ``strict`` | `boolean=` | `false` | Whether to disallow further input after reaching the maximum character length. | | ``trim`` | `boolean | string=` | `false` | [^trim] | | ``suggest-trigger`` | `Array|string` | `input` | [^suggest-trigger] |