[IMP] web: highlight searchValue in CommandItem
With this commit, when you perform a search in the command palette, the part of the commandItem's name that matches the searchValue will be highlighted. closes odoo/odoo#82407 Task-id: 2741837 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
This commit is contained in:
@@ -8,7 +8,7 @@ const { Component, xml } = owl;
|
||||
class DialogCommand extends Component {}
|
||||
DialogCommand.template = xml`
|
||||
<div class="o_command_default">
|
||||
<span t-esc="props.name"/>
|
||||
<t t-slot="name"/>
|
||||
<span t-if="props.email" t-esc="props.email"/>
|
||||
</div>
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user