mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +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()
|
||||
leafOnly:Boolean;
|
||||
|
||||
@state() currentTag: Et2Tag;
|
||||
|
||||
// We show search results in the same dropdown
|
||||
@ -670,6 +673,7 @@ export class Et2TreeDropdown extends SearchMixin<Constructor<any> & Et2InputWidg
|
||||
.actions=${this.actions}
|
||||
.styleTemplate=${() => this.styleTemplate()}
|
||||
.autoloading="${this.autoloading}"
|
||||
?leafOnly = ${this.leafOnly}
|
||||
|
||||
@sl-selection-change=${this.handleTreeChange}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user