🐛 | Conditional Fields | TypeError: Illegal offset type in Drupal\conditional_fields\Plugin\conditional_fields\handler\OptionsButtons->checkBoxesHandler()
🇮🇳India maniesraj
Here is the patch!
🐛 | Conditional Fields | TypeError: Illegal offset type in Drupal\conditional_fields\Plugin\conditional_fields\handler\OptionsButtons->checkBoxesHandler()
🇮🇳India maniesraj
Proposed resolution
if(!is_array($options['values'])){
$checkboxes_selectors[conditional_fields_field_selector($field[$options['values']])] = ['checked' => TRUE];
}
🐛 | Conditional Fields | TypeError: Illegal offset type in Drupal\conditional_fields\Plugin\conditional_fields\handler\OptionsButtons->checkBoxesHandler()
🇮🇳India maniesraj
maniesraj → created an issue.
🇮🇳India maniesraj
As @jurgenhaas mention in the comment #5, that works for me, I have added a patch it.
🐛 | Conditional Fields | Triggers required field validation on submission, even if the checkbox widget contains values
🇮🇳India maniesraj
Here is patch for that!
🐛 | Conditional Fields | Triggers required field validation on submission, even if the checkbox widget contains values
🇮🇳India maniesraj
maniesraj → created an issue.
🇮🇳India maniesraj
Yes!
I am facing the same problem in D10, how to add custom field in data comparison on condition?
is there any other document like this for D10?
🇮🇳India maniesraj
🇮🇳India maniesraj
Here is patch!
🇮🇳India maniesraj
ManiesRaj → created an issue.