🇮🇳India umed91
Hi @huzooka,
Is there any update on this? I am still facing this issue.
Thank you
🇮🇳India umed91
Hi,
For an image field with multiple values, I tried to use it like this
foreach ($form['FIELDNAME']['widget'] as $index => $widget){
$form['FIELDNAME']['widget'][$index]['#upload_validators']['example_FUNCTIONNAME'] = [];
}
but I am getting an error like, Error: Cannot use a scalar value as an array
I am on drupal 9.5.10
🇮🇳India umed91
I can confirm the same issue.
I am on PHP version 7.4 and Drupa version 9.4.12