zostera / django-bootstrap5

Bootstrap 5 for Django
BSD 3-Clause "New" or "Revised" License
398 stars 88 forks source link

I can´t set the classes for the wrapper. #695

Open FincaUrbanaApp opened 1 month ago

FincaUrbanaApp commented 1 month ago

I need can set the class of wrapper to formset.

In the settings.py: BOOTSTRAP5 = { 'required_css_class': 'field-required', 'set_placeholder': False, }

If field is from a form, add class 'field-required' in wrapper div:

Debe agregar una razón social

But, if field is from a formset, no add the class 'field-required':

Debe ingresar un nombre de contacto

How can solve this?