backpex icon indicating copy to clipboard operation
backpex copied to clipboard

Add `Backpex.Fields.CheckboxGroup`

Open Flo0807 opened this issue 10 months ago • 1 comments

If you want to add a form field to select multiple fields, Backpex provides Backpex.Fields.MultiSelect. As this field comes with a dropdown and search functionality, it might not be suitable for simple multi select use cases (e.g., if you only have a few options).

A Backpex.Fields.CheckboxGroup could be a good addition. It renders a list of checkboxes and makes it easy to select multiple values.

Resources

There is a good article from fly.io that explains how to build a check_group component: https://fly.io/phoenix-files/making-a-checkboxgroup-input/

Flo0807 avatar Mar 20 '25 11:03 Flo0807

I can work on that!

atasoya avatar Apr 13 '25 06:04 atasoya