mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Customfields: Explicitly use description widget for readonly text fields
This commit is contained in:
parent
69893e891b
commit
446b51d74a
@ -540,6 +540,10 @@ export class et2_customfields_list extends et2_valueWidget implements et2_IDetac
|
|||||||
attrs.maxlength = field.len;
|
attrs.maxlength = field.len;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(attrs.readonly)
|
||||||
|
{
|
||||||
|
field.type = 'description';
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user