Comments (5)
Thank you for the useful information.
from django-colorfield.
@philclaridge this is really strange. I could understand if your only case would be reading a previously stored color without the #
, but default colors and colors choosen using the color picker should work fine.
I'm not able to reproduce the issue you reported. In all my tests color is always prefixed correctly by #
.
Could you try to force delete of browser cache?
from django-colorfield.
@philclaridge any feedback?
from django-colorfield.
Feel free to re-open this issue if you have an useful feedback to provide.
from django-colorfield.
I believe this is an underlying issue with JSColor when a Content Security Policy doesn't allow 'unsafe-eval'
. I ran into this myself and had to make an exception inside the admin area for my CSP.
from django-colorfield.
Related Issues (20)
- Add a color preview on readonly color field.
- Why do we have 2 versions of `jscolor` ? HOT 3
- Django 4.2 Error from PIL (Pillow) HOT 3
- Publish release with Django 4.2 compatibility HOT 1
- Crash when using `image_field` with RGB/RGBA formats HOT 1
- 'colorfield' not needed since django 4.0 HOT 2
- Installation missing a STATIC_ROOT step HOT 1
- Replace `JSColor` with `Coloris`.
- 500 error caused by new palette choice code in 0.4.0 HOT 4
- disable colorfield in ModelForm HOT 2
- Selected color can't be saved because it is not in `COLOR_CHOICES` HOT 6
- subclasses of Widget must provide a render() method HOT 1
- name of rendered form input attribute is empty HOT 1
- Hide color-picker spectrum when using `choices`. HOT 7
- ValueError: seek of closed file
- Comma missing in MIDDLEWARE_CLASSES breaks things for Django <2
- Options not working when not using palette (choices/samples) HOT 4
- Update README to link to JSColor license HOT 2
- Show the color in the `change_list` view (currently only shows the hex value) HOT 2
- Handle possible corrupted image when using `image_field` option.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-colorfield.