Open erwinfeser opened 2 years ago
I had the same issue. I resolved it by creating a fork at https://github.com/kc2684/django-json-widget and adding a "style" variable to "widgets.py" and then use "widget.style" in django_json_widget.html instead of "widget.attr.style"
Description
It works but I get an ugly log (DEBUG=True) message because
django_json_widget.html
template asks{% if not widget.attrs.style %}
butstyle
does not exist inattrs
.I defined my form like this:
My recommendation is to replace in that template:
by