mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-15 19:20:47 +01:00
Et2DropdownButton: If readonly, display / render nothing
does not affect disabled, which still displays as disabled
This commit is contained in:
parent
fe2f36d52f
commit
a491983694
@ -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