mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-24 17:00:36 +01:00
chore(CommandPalette): support by prop and highlight
This commit is contained in:
@@ -185,7 +185,23 @@
|
||||
</div>
|
||||
|
||||
<UCard body-class="">
|
||||
<UCommandPalette v-model="form.persons" multiple :groups="[{ key: 'persons', commands: people, customQuery, options: { fuseOptions: { useExtendedSearch: true, keys: ['name', 'static'] } } }]" command-attribute="name" />
|
||||
<UCommandPalette
|
||||
v-model="form.persons"
|
||||
multiple
|
||||
:groups="[{
|
||||
key: 'persons',
|
||||
commands: people,
|
||||
customQuery,
|
||||
options: {
|
||||
fuseOptions: {
|
||||
includeMatches: true,
|
||||
useExtendedSearch: true,
|
||||
keys: ['name']
|
||||
}
|
||||
}
|
||||
}]"
|
||||
command-attribute="name"
|
||||
/>
|
||||
</UCard>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user