mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
Fix customfield selects so if rows > 1, we set multiple=true
This commit is contained in:
parent
9644e4b1df
commit
181546cdb5
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user