django-crispy-forms / django-crispy-forms/crispy-bootstrap5

feat: toggle buttons

Open
#189 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
525
Forks
77
Avg merge
1d 1h
Merged PRs (30d)
2

Description

I don't see a template class to support the "toggle buttons" available for forms since [Bootstrap 5.0](https://getbootstrap.com/docs/5.0/forms/checks-radios/#toggle-buttons).

The existing css_class and wrapper utilities are insufficient to support this modality, as the input class changes from `form-check-input` to `btn-check` and the label class changes from `form-check-label` to `btn`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.