Fix customfield selects so if rows > 1, we set multiple=true

This commit is contained in:
nathan 2022-09-26 11:38:36 -06:00
parent 9644e4b1df
commit 181546cdb5

View File

@ -595,9 +595,13 @@ export class et2_customfields_list extends et2_valueWidget implements et2_IDetac
_setup_select( field_name, field, attrs)
{
// No label on the widget itself
delete(attrs.label);
delete (attrs.label);
attrs.rows = field.rows;
if(attrs.rows > 1)
{
attrs.multiple = true;
}
// select_options are now send from server-side incl. ones defined via a file in EGroupware root
attrs.tags = field.tags;