mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
docs(components): correct the select and select-v2 documents (#18804)
This commit is contained in:
parent
38b691093d
commit
89731b7d1f
@ -243,7 +243,7 @@ select-v2/custom-label
|
||||
| no-match-text | displayed text when no data matches the filtering query, you can also use slot `empty`, default is 'No matching data' | ^[string] | — |
|
||||
| no-data-text | displayed text when there is no options, you can also use slot empty | ^[string] | No Data |
|
||||
| popper-class | custom class name for Select's dropdown | ^[string] | '' |
|
||||
| teleported | whether select dropdown is teleported to the body | ^[boolean] | true |
|
||||
| teleported | whether select dropdown is teleported, if `true` it will be teleported to where `append-to` sets | ^[boolean] | true |
|
||||
| append-to ^(2.8.8) | which element the select dropdown appends to | ^[string] | — |
|
||||
| persistent | when select dropdown is inactive and `persistent` is `false`, select dropdown will be destroyed | ^[boolean] | true |
|
||||
| popper-options | [popper.js](https://popper.js.org/docs/v2/) parameters | ^[object]refer to [popper.js](https://popper.js.org/docs/v2/) doc | {} |
|
||||
|
@ -213,7 +213,7 @@ select/custom-label
|
||||
| popper-class | custom class name for Select's dropdown | ^[string] | '' |
|
||||
| reserve-keyword | when `multiple` and `filterable` is true, whether to reserve current keyword after selecting an option | ^[boolean] | true |
|
||||
| default-first-option | select first matching option on enter key. Use with `filterable` or `remote` | ^[boolean] | false |
|
||||
| teleported | whether select dropdown is teleported to the body | ^[boolean] | true |
|
||||
| teleported | whether select dropdown is teleported, if `true` it will be teleported to where `append-to` sets | ^[boolean] | true |
|
||||
| append-to ^(2.8.4) | which element the select dropdown appends to | ^[string] | — |
|
||||
| persistent | when select dropdown is inactive and `persistent` is `false`, select dropdown will be destroyed | ^[boolean] | true |
|
||||
| automatic-dropdown | for non-filterable Select, this prop decides if the option menu pops up when the input is focused | ^[boolean] | false |
|
||||
|
Loading…
Reference in New Issue
Block a user