Skip to main content
The panel collapses and expands via a Bootstrap 4.6 accordion. When collapsed, any active filter selections are shown as pills in the header row so the user can see what’s applied at a glance.

Preview

Snag 29b1b01c
As of 29/07/2026, the accordian can be found in the app on the leave module and schedule page

HTML Structure & JS


Column Layout Logic

Filters can be distributed across two .ssFilterColumn divs or just put into the .ssFilterBody .

Filter ‘Pills’

There are filter ‘pills’ avaliable to you to display the user’s selected filters in the top accordian body.
Snag 29978bd9
Currently, the input types supported are:
  • Multi-selects
  • Single Selects
  • Text Inputs
  • Checkboxes
To enable pills on the accordion,
Add a span element with the id= ID_FilterPills and class ssFilterPillBar . Then on any filter you’d like to appear as a pill, add ssFilterField as a class, and add a data-filter-label with the name that you’d like to appear on the pill. It must be a plural (eg. roles)
The class and label can sit on either a div wrapping the select/input on on the select/input element itself.
For the pills to render, you must call the global function renderFilterPills() when you’d like them to be applied.

Keyboard Shortcuts

These are active whenever the filter panel is open (i.e. #Filters_Data has the .show class).
Escape calls e.preventDefault() when the focused element is a <select>. This prevents the browser from collapsing the dropdown before the filter action runs. Do not remove this guard.

CSS Classes

These classes are defined in the platform’s shared stylesheet and must be present on any page that renders this component.
The data-filter-label attribute on .ssFilterField is what renderFilterPills() reads to generate the pill text. Keep it short — it appears inline in the collapsed header.