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.
Problem/Motivation
When using Colorcode widget (colorfield_unified_textfield) entered values are not saved.
To reproduce the problem, create a color field on a content type or entity type, choose the "Color code (eg: #FFAA77)" widget, create a content using the field: if set up, default values is not saved, if overridden when creating the content, it is not saved either.
Same behaviour without default value.
Comments
Comment #1
ArtusamakIndeed the latest commits handling the split fields widget messed up with the default values and the field values as a whole.
I pushed a commit to fix that if you want to checkout the latest dev version to confirm that it's fixed: http://drupalcode.org/project/colorfield.git/commitdiff/78fe8aa80f9dc631...
Thanks for reporting!
Comment #2
Pomliane CreditAttribution: Pomliane commentedValues are saved as expected now, thank you! :)
Comment #3
ArtusamakCool i'm closing this one, please reopen if you bump into this issue again.