django-bootstrap5
django-bootstrap5 copied to clipboard
Bootstrap 5 for Django
Code  Result 
`field_class` is [documented as an option for the `bootstrap_field` template tag](https://django-bootstrap5.readthedocs.io/en/latest/templatetags.html#bootstrap-field), but it currently is not used, and does not apply the class to the ``.
In file renderers.py . "month" can be included along with text, number, date. so Input Type Month is Float Supported. I tried it and is working. "month" should be added...
Our custom widget doesn't render because the `template_name` is overwritten in `renderers.py`.
In `renders.py` there is a function called `make_input_group` that adds `addon_before_class` or `addon_after_class` . But it creates a group form that looks like this: ```html Some label --------- Some option...
Hi. As I understand `bootstrap_form_errors` should render the same as `bootstrap_form` with additional error support right? `bootstrap_form` renders fine, but `bootstrap_form_errors` doesn't appear at all.
I have a weird issue where one `` for a `textarea` input is rendered without a `for` attribute. Other `textarea` inputs that are initialized the same way render fine, however....
Following the Django Docs I Have this: (Docs: https://docs.djangoproject.com/en/4.0/ref/forms/fields/#iterating-relationship-choices) class CheckboxSelectMultipleWithAttrs(CheckboxSelectMultiple): def create_option(self, name, value, label, selected, index, subindex=None, attrs=None): option = super().create_option(name, value, label, selected, index, subindex, attrs) if...
It looks like [bootstrap 5 expects `.form-label` now on `` elements](https://getbootstrap.com/docs/5.1/migration/#forms).  TESTING: - Modified affected tests to reflect the newly added `.form-label` default.
Has references to travis-ci, and text needs checking.