mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 05:29:13 +01:00
Dropdown tree now has leafOnly property to pass on to et2-tree
This commit is contained in:
parent
42f8124242
commit
4ba8866d9c
@ -80,6 +80,9 @@ export class Et2TreeDropdown extends SearchMixin<Constructor<any> & Et2InputWidg
|
|||||||
*/
|
*/
|
||||||
@property({type: Object}) actions = {};
|
@property({type: Object}) actions = {};
|
||||||
|
|
||||||
|
@property()
|
||||||
|
leafOnly:Boolean;
|
||||||
|
|
||||||
@state() currentTag: Et2Tag;
|
@state() currentTag: Et2Tag;
|
||||||
|
|
||||||
// We show search results in the same dropdown
|
// We show search results in the same dropdown
|
||||||
@ -670,6 +673,7 @@ export class Et2TreeDropdown extends SearchMixin<Constructor<any> & Et2InputWidg
|
|||||||
.actions=${this.actions}
|
.actions=${this.actions}
|
||||||
.styleTemplate=${() => this.styleTemplate()}
|
.styleTemplate=${() => this.styleTemplate()}
|
||||||
.autoloading="${this.autoloading}"
|
.autoloading="${this.autoloading}"
|
||||||
|
?leafOnly = ${this.leafOnly}
|
||||||
|
|
||||||
@sl-selection-change=${this.handleTreeChange}
|
@sl-selection-change=${this.handleTreeChange}
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user