Knowledge.ToString()

Stop Joomla Drop Down From Being Fancy

It took couple of hours to find out why Joomla was making my drop down (select tag) fancy and how do I stop it. Within the administration site, each select tag is being replaced by a library called Chosen (https://github.com/harvesthq/chosen) and if there are more than 10 items, it will show search box within drop down. If this breaks your functionality, here is a trick to prevent it from being fancy.

Add data-chosen=”true” to the select tag and you will get back your ugly drop down.

<select id="pramukhime" name="pramukhime" data-chosen="true"></select>

Share

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *