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

Artusamak’s picture

Status: Active » Needs review

Indeed 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!

Pomliane’s picture

Status: Needs review » Reviewed & tested by the community

Values are saved as expected now, thank you! :)

Artusamak’s picture

Status: Reviewed & tested by the community » Fixed

Cool i'm closing this one, please reopen if you bump into this issue again.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.