Closed (fixed)
Project:
Field Conditional States
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2014 at 13:19 UTC
Updated:
3 Apr 2014 at 23:51 UTC
Jump to comment: Most recent
Comments
Comment #1
geek-merlinHuh, form widget also disappears. Only an empty div is rendered in the browser.
Johnny Clear-the-cache does not help.
Comment #2
geek-merlinThis only happens for radios, not for dropdown. Very strange.
Hunted this a bit down and field_conditional_state_element_process() does not return anything suspicious.
Comment #3
geek-merlinComment #4
seaneffel commentedCheckbox and radio button widgets do not display, site wide, with this module enabled. Affects all components: taxonomy fields, text fields, etc. Could it be as simple as accidental CSS overrides?
Comment #5
Tobias Xy commentedNo they don't disappear because of CSS.
The reason is actually the same as here: #2200361: Incompatible with #type => text_format (ie. long text fields with formatting)
FCS sets an #process callback in hook_field_widget_form_alter and because of this the default #process callback defined in hook_element_info isn't executed (Core bug: #1779496: don't let #process set on form elements prevent hook_element_info() #process handlers from being set)
But I'll change the way FCS works at the weekend, so this issue should be fixed in the next days "automatically", as soon as #2203067: Rewrite of state handling using a whitelist of supported widgets is fixed.
Comment #6
Tobias Xy commentedFixed by #2203067: Rewrite of state handling using a whitelist of supported widgets.