Closed yedpodtrzitko closed 5 months ago
Merging #106 (bcadd12) into main (370ccb9) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## main #106 +/- ##
=======================================
Coverage 82.41% 82.41%
=======================================
Files 37 37
Lines 637 637
Branches 28 28
=======================================
Hits 525 525
Misses 102 102
Partials 10 10
Impacted Files | Coverage Δ | |
---|---|---|
crispy_tailwind/tailwind.py | 96.87% <ø> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 370ccb9...bcadd12. Read the comment docs.
Hi @yedpodtrzitko!
I am quite new to tailwind and haven't seen this error before. Can you provide a quick code example on how you've managed to break this package?
Best
Ronny
class ColorWidget(widgets.TextInput):
input_type = "color"
class MyForm(forms.ModelForm):
default_color = forms.CharField(label="Default Color", widget=ColorWidget)
Hi @yedpodtrzitko!
Thx for the code snippet! I tried it out and in both cases (with your change and without), I get this result:
What am I missing?
Hmm, cant reproduce it neither after updating to the latest version. Seems like it was fixed as a side-effect by some changes done in since I opened this PR.
Closing then, thanks for investigating :)
Thanks for your support! 💪
Hi, this should enable inputs with theirs
type
parameter set tocolor
.Currently using
color
type ends with the following exception: