Provides a UI to search for and choose entities by name.
Usage
<entity-select
label="Parent Asset"
entity-type="asset"
v-model="parent"
></entity-select>
Props
Name |
Type |
Default value |
Required? |
Description |
label |
String |
'' |
No |
the label to show in the select field |
hint |
String |
'' |
No |
the hint to show in the select field |
entityType |
String |
- |
Yes |
the entity type to select from |
entityBundles |
Array.<String> |
null |
No |
the entity bundles to select from - or all if null |
multiple |
Boolean |
false |
No |
allow selecting multiple entities |
additionalFilters |
Array.<Object> |
[] |
No |
Additional Orbit.js filters to apply to the searches |
modelValue |
Object |
null |
No |
The initially selected entity |
Events
Name |
Payload Type |
Description |
update:modelValue |
String |
Emitted when an entity has been selected |