src/Event/RulesWebformEventBase.php tries to get the #title option value in function extractcompositeElements. This is a problem if a hidden field that does not have a title is used. I am using it in a composite.

Changing

$fields_definitions[$name] = (string) $options['#title'];

to

$fields_definitions[$name] = (string) isset($options['#title']) ? $options['#title'] : '';

Comments

bwong created an issue. See original summary.

  • wombatbuddy committed 2df43df on 8.x-1.x
    Was fixed Issue #3066162: Hidden composite field does not have #title.
    
wombatbuddy’s picture

Thanks!

wombatbuddy’s picture

Status: Active » Fixed
wombatbuddy’s picture

Status: Fixed » Closed (fixed)