forked from extern/egroupware
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