mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 03:13:40 +01:00
Fix select with multiple & rows=1 could not listen for tag events
This commit is contained in:
parent
07d242e705
commit
372e6ebbdb
@ -126,7 +126,7 @@ export class Et2Select extends Et2WithSearchMixin(Et2WidgetWithSelect)
|
|||||||
max-height: calc(var(--rows, 5) * (var(--sl-input-height-medium) * 0.8))
|
max-height: calc(var(--rows, 5) * (var(--sl-input-height-medium) * 0.8))
|
||||||
}
|
}
|
||||||
|
|
||||||
:host([rows='1']) ::part(tags) {
|
:host([readonly][rows='1']) ::part(tags) {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -725,7 +725,7 @@ export class Et2Select extends Et2WithSearchMixin(Et2WidgetWithSelect)
|
|||||||
*/
|
*/
|
||||||
protected _handleMouseEnter(e : MouseEvent)
|
protected _handleMouseEnter(e : MouseEvent)
|
||||||
{
|
{
|
||||||
if(this.rows == "1" && this.multiple == true && this.value.length > 1)
|
if(this.readonly && this.rows == "1" && this.multiple == true && this.value.length > 1)
|
||||||
{
|
{
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user