Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi!
Steps to reproduce:
- Add field to entity
- Go to entity Manage Form Display
- Here the default value is shown, Default Color: #FFFFFF
- Press edit, add another value (ff00ff in my case) and press update
Result:
- Default Color: # is shown instead of Default Color: #ff00ff
- Dumping out the value in JQueryColorpickerDefaultWidget::settingsSummary(), the $this->getSetting('color') is NULL
- Pressing edit again, the color field is also empty
Edit: The value is NULL also in the exported entity_form_display config.
Comment | File | Size | Author |
---|---|---|---|
#6 | jquery_color_2888430-6.patch | 840 bytes | audriusb |
#4 | Color_picker_manage_form_display.png | 58.58 KB | AardWolf |
#4 | Color_picker_manage_field.png | 22.82 KB | AardWolf |
Comments
Comment #2
mhavelant CreditAttribution: mhavelant at Brainsum for Tieto commentedComment #3
Jaypan CreditAttribution: Jaypan commentedI am unable to reproduce this. If someone else is able to reproduce it, please re-open this thread.
Comment #4
AardWolf CreditAttribution: AardWolf at ADCI Solutions commentedHi.
I've installed module yesterday.
There are some screenshots.
I added some fields and set default values to #000000 value.
Field edit screenshot
On a "manage form display" form I can see it has #FFFFFF values.
But selected by red fields must be #000000.
Manage display screenshot
Please check again and fix it please.
Reopened.
Comment #5
Jaypan CreditAttribution: Jaypan commentedThanks for providing additional information. I'm a little pressed for time these days, but next chance I have to look at it, I will.
Comment #6
audriusb CreditAttribution: audriusb commentedhere's a quick fix
Comment #7
audriusb CreditAttribution: audriusb commentedComment #8
Jaypan CreditAttribution: Jaypan commentedMarking as outdated, as version 8.x-2.x is a major re-write, and should have dealt with any issues like this. Please re-open if the issue still stands after upgrade.