mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Et2DropdownButton: If readonly, display / render nothing
does not affect disabled, which still displays as disabled
This commit is contained in:
parent
e62cf4c2f7
commit
49d719e5f6
@ -121,6 +121,10 @@ export class Et2DropdownButton extends Et2widgetWithSelectMixin(Et2Button)
|
||||
|
||||
render()
|
||||
{
|
||||
if(this.readonly)
|
||||
{
|
||||
return '';
|
||||
}
|
||||
return html`
|
||||
<sl-button-group>
|
||||
<sl-button size="${egwIsMobile() ? "large" : "medium"}" id="main" ?disabled=${this.disabled}>
|
||||
|
Loading…
Reference in New Issue
Block a user