Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
FincaUrbanaApp opened this issue Sep 26, 2024 · 0 comments
Open

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

FincaUrbanaApp opened this issue Sep 26, 2024 · 0 comments

Comments

@FincaUrbanaApp
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant