|
@@ -1380,7 +1380,7 @@ Load child options when their parent option is clicked or hovered over.
|
|
|
}
|
|
|
};
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
methods: {
|
|
|
handleItemChange(val) {
|
|
|
console.log('active item:', val);
|
|
@@ -1656,9 +1656,10 @@ Search and select options with a keyword.
|
|
|
| value | specify which key of option object is used as the option's value | string | — | — |
|
|
|
| children | specify which key of option object is used as the option's child options | string | — | — |
|
|
|
| disabled | specify which key of option object indicates if the option is disabled | string | — | — |
|
|
|
+| before-filter | hook function before filtering with the value to be filtered as its parameter. If `false` or a `Promise` is returned, filtering will be aborted | function(value) | — | — |
|
|
|
|
|
|
### Events
|
|
|
| Event Name | Description | Parameters |
|
|
|
|---------- |-------- |---------- |
|
|
|
| change | triggers when the binding value changes | value |
|
|
|
-| active-item-change | triggers when active option changes, only works when `change-on-select` is `false` | an array of active options |
|
|
|
+| active-item-change | triggers when active option changes, only works when `change-on-select` is `false` | an array of active options |
|