- Issue created by @maniesraj
- 🇮🇳India maniesraj
Proposed resolution
if(!is_array($options['values'])){ $checkboxes_selectors[conditional_fields_field_selector($field[$options['values']])] = ['checked' => TRUE]; }
TypeError: Illegal offset type in Drupal\conditional_fields\Plugin\conditional_fields\handler\OptionsButtons->checkBoxesHandler() (line 168 of modules/composer/conditional_fields/src/Plugin/conditional_fields/handler/OptionsButtons.php).
if(!is_array($options['values'])){
$checkboxes_selectors[conditional_fields_field_selector($field[$options['values']])] = ['checked' => TRUE];
}