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.
After selecting a control field and then setting trigger state to either "Value is" or "Value is NOT", the trigger value is filled with some null values only. (see attached picture). If you try clicking on any of the null values listed and hit save, then this error appears:
Notice: Undefined index: allowed_values_function in list_allowed_values() (line 239 of /var/www/vhosts/drupaldev/httpdocs/modules/field/modules/list/list.module).
Not sure where I can look next to get this working.
Thanks!
Comments
Comment #1
Comprox CreditAttribution: Comprox commentedJust changing the priority as it makes this module unusable.
Comment #2
Tobias Xy CreditAttribution: Tobias Xy commentedCould you please add some information about the control field, as for example the actual values of this field, the field type and the widget you are using?
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedI'm also experiencing this issue, with term reference fields, using a select widget.
Comment #4
Tobias Xy CreditAttribution: Tobias Xy commentedI always work with the developer version, so I lost sight of the people that are using version 2.0. :D
This issue however should be fixed in the latest dev version. See #2277477: does not work with taxonomy term select
Please reopen the issue if the problem still exists with the dev version.
Comment #5
strategery CreditAttribution: strategery commentedIt's working to show the select list fields, but the weird thing is it does exactly the opposite of what I want. I am trying to create a state that the field is visible when the condition applies, but it shows the field UNTIL I select the value. At that time, it disappears. If I select NEGATE, it does the same thing.