Cinder.Filters.MultiCheckboxes (Cinder v0.18.1)

Copy Markdown View Source

Multi-checkbox filter implementation for Cinder tables.

Provides multiple selection filtering with a checkbox for each option. Apart from how it renders, it works exactly like Cinder.Filters.MultiSelect: the same options (options, match_mode), the same handling of values from the client, and the same matching on array fields and through relationships.

<:col
  field="tags"
  filter={[
    type: :multi_checkboxes,
    options: [{"Fiction", "fiction"}, {"Bestseller", "bestseller"}],
    match_mode: :all
  ]}
/>