mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
feat(components): [select/select-v2] support debounce prop (#22471)
* feat(components): [select/select-v2] support debounce prop * feat: update * feat: update * feat: update * docs: update version number * feat: update * feat: update * feat: update * feat: update * feat: update * feat: update
This commit is contained in:
@@ -275,6 +275,7 @@ select-v2/custom-width
|
||||
| item-height | The height of the dropdown item | ^[number] | 34 |
|
||||
| scrollbar-always-on | Controls whether the scrollbar is always displayed | ^[boolean] | false |
|
||||
| remote | whether search data from server | ^[boolean] | false |
|
||||
| debounce ^(2.11.6) | debounce delay during remote search, in milliseconds | ^[number] | 300 |
|
||||
| remote-method | function that gets called when the input value changes. Its parameter is the current input value. To use this, `filterable` must be true | ^[Function]`(query: string) => void` | — |
|
||||
| validate-event | whether to trigger form validation | ^[boolean] | true |
|
||||
| offset ^(2.8.8) | offset of the dropdown | ^[number] | 12 |
|
||||
|
||||
@@ -223,6 +223,7 @@ select/custom-label
|
||||
| allow-create | whether creating new items is allowed. To use this, `filterable` must be true | ^[boolean] | false |
|
||||
| filter-method | custom filter method, the first parameter is the current input value. To use this, `filterable` must be true | ^[Function]`(query: string) => void` | — |
|
||||
| remote | whether options are loaded from server | ^[boolean] | false |
|
||||
| debounce ^(2.11.6) | debounce delay during remote search, in milliseconds | ^[number] | 300 |
|
||||
| remote-method | function that gets called when the input value changes. Its parameter is the current input value. To use this, `filterable` must be true | ^[Function]`(query: string) => void` | — |
|
||||
| remote-show-suffix | in remote search method show suffix icon | ^[boolean] | false |
|
||||
| loading | whether Select is loading data from server | ^[boolean] | false |
|
||||
|
||||
Reference in New Issue
Block a user