You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes currently we don't have multivalue support. This impacts a number of default widgets (e.g. split date time field).
Multivalue fields are a bit more complex, what happens if you have a checkbox and you probably want to have each input inside a div with one of the col classes.
I've done some work to progress this #976. It needs more work but if you have any comments they would be appreciated.
Description:
When I raise a ValidationError on a custom field I've written, which is a MultiValueField, the error doesn't show up. This is because the is-invalid class is not being added to the inputs, as it is with other types of fields. The code in this module (https://github.com/django-crispy-forms/django-crispy-forms/blob/master/crispy_forms/templatetags/crispy_forms_field.py) explicitly says to not add the CSS if the field is a multivaluefield.
I suspect I'm doing something wrong and maybe I should be adding the CSS class in the custom field myself but I'm not sure.
The text was updated successfully, but these errors were encountered: