Skip to content

Add Backpex.Fields.CheckboxGroup #983

@Flo0807

Description

@Flo0807

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/

Metadata

Metadata

Assignees

Labels

good-first-issueIdeal for new contributors. Simple, well-defined tasks to help you get started.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions