#57597Fields of type 'select' with maxitems>1 and itemsProcFunc set work only, if items is set also
Description
I have a very similar problem to #15720 but with 6.2 .
My conf:
"config" => array (
'type' => 'select',
'items' => array(
),
itemsProcFunc' => 'Tcahelper->getCountriesFromStaticInfoTables',
'foreign_table' => 'static_countries',
'foreign_table_where' => 'ORDER BY static_countries.cn_short_en',
'allowNonIdValues' => TRUE,
'size' => 30,
'autoSizeMax' => 50,
'minitems' => 1,
'maxitems' => 500,
)
The “itemsProcFunc” changes the “uid” of static_info_tables to “cn_iso_2” (allowNonIdValues).
The correct “cn_iso_2” will be succesfully saved (comma seperated), but the Selected-Field
is empty again (maybe an error while allowing the values).
The setup works if i set maxitems to “1” (as dropdownbox)!
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.