🐛 | Label Help | TypeError: Cannot access offset of type string on string in _label_help_prepend_description()
🇮🇳India maniesraj
Here is a patch!
🐛 | Label Help | TypeError: Cannot access offset of type string on string in _label_help_prepend_description()
🇮🇳India maniesraj
maniesraj → created an issue.
🐛 | Conditional Fields | Error: Call to undefined method getEntity() in Drupal\conditional_fields\ConditionalFieldsFormHelper::dependentValidate() (line 528 of modules/composer/conditional_fields/src/ConditionalFieldsFormHelper.php).
🇮🇳India maniesraj
Here is a patch!
🐛 | Conditional Fields | Error: Call to undefined method getEntity() in Drupal\conditional_fields\ConditionalFieldsFormHelper::dependentValidate() (line 528 of modules/composer/conditional_fields/src/ConditionalFieldsFormHelper.php).
🇮🇳India maniesraj
maniesraj → created an issue.
🐛 | 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.