Im trying to use Jquery ui autocomplete, and im watching official site code.
https://jqueryui.com/autocomplete/#categories
It makes search 'label value' then show 'label value'and'category value',
but i want to switch like this.
"search 'category value' then show 'category value'and select 'label value'."
anyone know how to search autocomplete based category value?
i just tried to switch 'label' and 'category'
like this
{ label: "Products", category: "annhhx10" },
{ label: "Products", category: "annk K12" },
this was close solution for me but,'label'cant solve duplicate value like'category'. also'category' is unclickable.
please help thanks.