Closed (fixed)
Project:
Color Field
Version:
8.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2020 at 13:33 UTC
Updated:
16 Jul 2020 at 10:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
kmetz commentedComment #3
kmetz commentedComment #4
bartlangelaanComment #6
balintbrewsI ran into the same issue. Thank you for the patch, @kmetz. Here is my slightly adjusted version which still renders the container element around the field so that JavaScript logic that expects that markup (i.e.
Drupal.behaviors.color_field_spectrum) doesn't break.Comment #7
lonalorePatch from #6 works perfectly. Thank you!
Comment #8
duneblI confirm tha #6 is perfect!
Thank you
Comment #10
nickdickinsonwildeThanks for the patch and testing, committed.
Comment #12
rwam commentedSorry, but this patch breaks the spectrum widget.
EXPECTED BEHAVIOR using
$element['#type'] = 'fieldset';CURRENT BEHAVIOR using
$element['#type'] = 'container';@NickDickinsonWilde - can this issue be reopened or should I create a new ticket?