-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
SplitDateTimeWidget bug #66
Labels
Comments
i can reproduce with this:
the pass show it clear:
|
SplitDateTimeField its a MultiWidget and not supported! |
zodman
added a commit
that referenced
this issue
May 24, 2019
add not supported in readme by issue #66
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Widget tweaks cuts off initial classes provided to subwidgets.
Used both directly(not through custom widget, and with custom widget). Result is same.
Consider following usage:
Template:
{% render_field field class+='validate' %}
Form:
And
DateTimePicker
widget code:Then result is:
http://joxi.ru/MAjBv7I40kDdAe.png
It replaces initial classes on subwidgets with provided via
+=
instead of concatenating them.The text was updated successfully, but these errors were encountered: