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:
Razón Social
Debe agregar una razón social
But, if field is from a formset, no add the class 'field-required':
Nombre
Debe ingresar un nombre de contacto
How can solve this?
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:
But, if field is from a formset, no add the class 'field-required':
How can solve this?