Droplist Filter

Component ID

299560

Component name

Droplist Filter

Component type

module

Component security advisory coverage

not-covered

Downloads

5892

Component created

Component changed

Component body

This adds a small Javascript search widget to any droplist on the site. The widget allows users to filter a long (or short) list to a handful of items based on a searched word.

The search widget automatically appears next to every droplist. When you click on the widget, the droplist is replaced by a textbox. Type in a few letters and click again, and the droplist will immediately re-appear and be filtered down to only items that match the search.

Using the configuration menu, you can change the appearance of the widget to match your site's theme. Four sample color schemes are provided, and you can add your own.

You can limit the droplist filter to only specific pages, or even a specific CSS class. Form submission, onchange events, etc. still work normally after this.