You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is that possible to set a data-attribute on each item to be searched and, if it has the attribute data-keywords (or whatever), the plugin filter only that words instead of the element content?
I'm making a dashboard on my job where I list every clients and all of them has links to their applications, but all the links has the same names, with different hrefs. Example:
<divclass="client"><h3class="client__name">${name}</h3><ulclass="client__links"><liclass="client__link"><ahref="//${id}.vtexcommercestable.com.br">
Stable
</a></li><liclass="client__link"><ahref="//${id}.vtexcommercestable.com.br/admin">
Admin
</a></li><liclass="client__link"><ahref="//${id}.vtexcrm.com.br">
CRM
</a></li><liclass="client__link"><ahref="//${id}.ds.vtexcrm.com.br">
Master Data
</a></li></ul></div>
Sometimes I would like to type zeedog, but the client name is Zee.Dog, hiding it just because I can't set some keywords specifics to that list item.
The text was updated successfully, but these errors were encountered:
Hi, if I understand correctly, you want to search against a custom attribute such as data-keywords... That can be done by setting the name of the attribute to the option attribute:
Is that possible to set a
data-attribute
on each item to be searched and, if it has the attributedata-keywords
(or whatever), the plugin filter only that words instead of the element content?I'm making a dashboard on my job where I list every clients and all of them has links to their applications, but all the links has the same names, with different
href
s. Example:Sometimes I would like to type
zeedog
, but the client name is Zee.Dog, hiding it just because I can't set some keywords specifics to that list item.The text was updated successfully, but these errors were encountered: