|
@@ -681,8 +681,8 @@ If the binding value of Select is an object, make sure to assign `value-key` as
|
|
|
| remote-method | custom remote search method | function | — | — |
|
|
|
| loading | whether Select is loading data from server | boolean | — | false |
|
|
|
| loading-text | displayed text while loading data from server | string | — | Loading |
|
|
|
-| no-match-text | displayed text when no data matches the filtering query | string | — | No matching data |
|
|
|
-| no-data-text | displayed text when there is no options | string | — | No data |
|
|
|
+| no-match-text | displayed text when no data matches the filtering query, you can also use slot `empty` | string | — | No matching data |
|
|
|
+| 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 | — | — |
|
|
|
| reserve-keyword | when `multiple` and `filter` is true, whether to reserve current keyword after selecting an option | boolean | — | false |
|
|
|
| default-first-option | select first matching option on enter key. Use with `filterable` or `remote` | boolean | - | false |
|
|
@@ -704,6 +704,7 @@ If the binding value of Select is an object, make sure to assign `value-key` as
|
|
|
|---------|-------------|
|
|
|
| — | Option component list |
|
|
|
| prefix | content as Select prefix |
|
|
|
+| empty | content when there is no options |
|
|
|
|
|
|
### Option Group Attributes
|
|
|
| Attribute | Description | Type | Accepted Values | Default |
|