Skip to content

Commit 306eb99

Browse files
committed
docs(select): update version numbers for filterable and filter properties in documentation
1 parent a874893 commit 306eb99

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

packages/varlet-ui/src/select/docs/en-US.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -576,8 +576,8 @@ const keyOptions = computed(() => [
576576
| `validate-trigger` | Timing to trigger validation, optional value is `onFocus` `onBlur` `onChange` `onClick` `onClear` `onClose` | _SelectValidateTrigger[]_ | `['onChange', 'onClear', 'onClose']` |
577577
| `rules` | Validation rules, return `true` to indicate verification passes, other types of values ​​will be converted into text as user prompts. [Zod validation](#/en-US/zodValidation) is supported since `3.5.0` | _((v: any) => any) \| ZodType \| Array<((v: any) => any) \| ZodType>_ | `-` |
578578
| `tabindex` ***3.12.1*** | Consistent with the tabindex property of native select | _string_ | `-` |
579-
| `filterable` ***3.13.0*** | Whether to filter options | _boolean_ | `false` |
580-
| `filter` ***3.13.0*** | Custom filter method | _(pattern: string, option: SelectOption) => boolean_ | `-` |
579+
| `filterable` ***3.14.0*** | Whether to filter options | _boolean_ | `false` |
580+
| `filter` ***3.14.0*** | Custom filter method | _(pattern: string, option: SelectOption) => boolean_ | `-` |
581581

582582
#### SelectOption
583583

@@ -632,7 +632,7 @@ const keyOptions = computed(() => [
632632
| `clear-icon` | Clear Icon | `clear: (e: Event) => void` clear function (can be used to clear select box contents when using slots) |
633633
| `append-icon` | Append icon | `-` |
634634
| `arrow-icon` | Arrow icon | `focus: boolean` Whether to focus, `menu-open: boolean` Whether menu opened |
635-
| `empty` ***3.13.0*** | Content when there are no options or no filter results; allows full customization of the empty state container; when not used, shows default empty state with i18n text | `-` |
635+
| `empty` ***3.14.0*** | Content when there are no options or no filter results; allows full customization of the empty state container; when not used, shows default empty state with i18n text | `-` |
636636

637637
#### Option Slots
638638

packages/varlet-ui/src/select/docs/zh-CN.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -577,8 +577,8 @@ const keyOptions = computed(() => [
577577
| `validate-trigger` | 触发验证的时机,可选值为 `onFocus` `onBlur` `onChange` `onClick` `onClear` `onClose` | _SelectValidateTrigger[]_ | `['onChange', 'onClear', 'onClose']` |
578578
| `rules` | 验证规则,返回 `true` 表示验证通过,其它类型的值将转换为文本作为用户提示。自 `3.5.0` 开始支持 [Zod 验证](#/zh-CN/zodValidation) | _((v: any) => any) \| ZodType \| Array<((v: any) => any) \| ZodType>_ | `-` |
579579
| `tabindex` ***3.12.1*** | 与原生 select 的 tabindex 属性一致 | _string_ | `-` |
580-
| `filterable` ***3.13.0*** | 是否可以过滤 | _boolean_ |
581-
| `filter` ***3.13.0*** | 自定义过滤方法 | _(pattern: string, option: SelectOption) => boolean_ | `-` |
580+
| `filterable` ***3.14.0*** | 是否可以过滤 | _boolean_ |
581+
| `filter` ***3.14.0*** | 自定义过滤方法 | _(pattern: string, option: SelectOption) => boolean_ | `-` |
582582

583583
#### SelectOption
584584

@@ -633,7 +633,7 @@ const keyOptions = computed(() => [
633633
| `clear-icon` | 清除图标 | `clear: (e: Event) => void` 清除函数(在使用插槽时, 可用于清除选择框内容) |
634634
| `append-icon` | 后置图标 | `-` |
635635
| `arrow-icon` | 箭头图标 | `focus: boolean` 是否处于聚焦状态, `menu-open: boolean` 是否菜单被打开 |
636-
| `empty` ***3.13.0*** | 无选项或过滤无结果时展示的内容,可完全定制整个空状态容器;未使用时为带国际化默认文案的默认空状态 | `-` |
636+
| `empty` ***3.14.0*** | 无选项或过滤无结果时展示的内容,可完全定制整个空状态容器;未使用时为带国际化默认文案的默认空状态 | `-` |
637637

638638
#### Option Slots
639639

0 commit comments

Comments
 (0)