loading new Et2Date* instead of dropped et2_date* widget, thought r/o variants in nextmatch are still not working

This commit is contained in:
ralf
2022-05-02 13:52:53 +02:00
parent 21def67f83
commit dc784800b7
2 changed files with 42 additions and 14 deletions

View File

@ -482,7 +482,7 @@ export class et2_readonlysArrayMgr extends et2_arrayMgr
if(typeof _attr != "undefined" && _attr !== null)
{
// Accept 'editable', but otherwise boolean
return this.expandName(_attr) === 'editable' ? 'editable' : et2_evalBool(_attr);
return typeof _attr === 'string' && this.expandName(_attr) === 'editable' ? 'editable' : et2_evalBool(_attr);
}
// Otherwise take into accounf whether the parent is readonly
@ -544,5 +544,4 @@ export function et2_arrayMgrs_expand(_owner : et2_widget, _mgrs : object, _data
// Return the resulting managers object
return result;
}
}