Hi, I’m using ElementInput filter for changing a DC:Relation textarea to the html select list.
$list = an array of options for select
$components['input'] = get_view()->formSelect($args['input_name_stem'] . '[text]', $selected_id, array('multiple' => false), $list);
The list is being shown properly, but the button allowing to add another field is not working. There is a 500 (Internal Server Error) error within an ajax call to …/omeka/admin/elements/element-form
How should I fix that error? How to enable adding another select field?
Changing ‘multiple’ => false to true allows to select few values, but then no data is saved for that field.