when i choose a color and save my page, i can’t remove my choice even if i allow null in the option.
]]>Hello,
I’m using ACF 5.7.7 and I have my color swatch field set to return only the value. This gives an Illegal string offset 'value'
for line 394 if (in_array($value['value'], $map_to_transparent)) {
I changed it to check if it was an array first and it solves the issue if (is_array($value) && in_array($value['value'], $map_to_transparent)) {
thanks for the nice plugin
]]>