qinglau
12 years agoMentor
Custom drop down section in common.widget.search-form
Hi All,
I build a simple custom component at my end. The custom component contains the "standard common.widget.search-form". I would like to hide two options in the default drop down menu. (please see the attachment).
I have a solution in my mind is to add javascript in the page hint box part.
//Find the option to hiden jQuery('#searchGranularity').find([value="tkb|tkb"]').remove
I do not think this is the best solution. If i want to overrwirte the componment , how i can do that? or even there is a setting to turn it off.
Thank you
Cheers,
Qing