AJAX functionality is broken

Created on 30 August 2012, almost 13 years ago
Updated 25 June 2025, 8 days ago

My custom module adds an ajax functionality for a select list, which is dependent on another field.
$form['field_fieldone'][$langcode]['#ajax'] = array(
'callback' => 'mymodule_callback',
'wrapper' => array('replace_div_1'),
);
and so on
$form['field_fieldtwo'][$langcode]['#prefix'] = '

';
$form['field_fieldtwo'][$langcode]['#suffix'] = '

';
$form['field_fieldtwo'][$langcode]['#options'] = _ajax_get_fieldtwovalues_options($parameter);

Everything works, with cardinality unlimited too.
But if I switch from widget "select list" to your widget "multiple selects list" (fieldtwo), the ajax functionality is broken, nothing happens with options fieldtwo.
And I can not add a second delta value !

What is wrong ?

🐛 Bug report
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

🇩🇪Germany Micha1111

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024