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

New Feature Idea: Always use floating-fields throughout an entire project

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

Description

I think it would be cool if we added the option to use floating fields by default on all `` fields throughout an entire project. Maybe there is a better way to do it, but I was thinking we could add a boolean Django setting `CRISPY-FLOATING-FIELDS`. And (maybe one day) add a helper attribute that would allow for overriding the setting on a per-form basis.

I'm a little uncertain if my idea aligns with crispy-bootstrap5's plans, considering the introduction of [field groups](https://docs.djangoproject.com/en/dev/releases/5.0/#simplified-templates-for-form-field-rendering) in Django 5.0. I'm interested in people's thoughts about this feature, if a PR would be accepted, and how it would integrate with future plans for this package? Thanks!

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.