Name
|
Type
|
Default
|
Description
|
|---|---|---|---|
options | [Array, Function] | -- | An array of options or an async function that returns an array of objects
|
label-prop | String | label | Property of the option object to use as label |
value-prop | String | value | Property of the option object to use as value |
match-props | Array | -- | Option properties to match search keyword against, e.g. in an array of options containing user info, you may want to search against name and username, while the label might be full name |
return-object | Boolean | -- | Return value is an object or array of objects |
multiple | Boolean | -- | Allow multiple values |
search-placeholder | String | Enter search keyword | Text to show as the search input placeholder |
Current value:
Current value: []
Current value: []
Current value: []
Current value: { "single": null, "multiple": [] }