Python version
3.12
Django version
4.2.7
Package version
0.11.0
Current behavior (bug description)
Color picker widget does not seem to work for model forms?
Specified it like that:
from colorfield.widgets import ColorWidget
from django import forms
class MyModelForm(forms.ModelForm):
class Meta:
model = MyModel
fields = [
"background_color",
]
widgets = {
"background_color": ColorWidget,
}
And this is what I get in the form view:
Expected behavior
"Background Color" field should have a color picker widget instead of a text input.
Additional information
I'm using django-oscar for the admin interface, on which this occurs. So maybe its not a bug in this library, but a conflict with django-oscar's templates?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too