mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
cat tree for selection of categories fix if value is not a string
This commit is contained in:
parent
3f789cfdce
commit
bca9931fba
@ -149,6 +149,8 @@ export class Et2TreeDropdown extends SearchMixin<Constructor<any> & Et2InputWidg
|
||||
@property()
|
||||
set value(new_value : string | string[])
|
||||
{
|
||||
if(!new_value)new_value="";
|
||||
if(typeof new_value === 'number'){new_value += ""}
|
||||
if(typeof new_value === "string")
|
||||
{
|
||||
new_value = new_value.split(",")
|
||||
|
@ -41,6 +41,8 @@ export class Et2TreeDropdownCategory extends Et2TreeDropdown
|
||||
*/
|
||||
@property({type: Boolean}) globalCategories = true;
|
||||
|
||||
|
||||
|
||||
private keep_import : Et2CategoryTag
|
||||
|
||||
connectedCallback()
|
||||
|
Loading…
Reference in New Issue
Block a user