()
| 1495 | }); |
| 1496 | |
| 1497 | onCommit() { |
| 1498 | const selected = this.value(); |
| 1499 | if (selected.length > 0) { |
| 1500 | this.searchString.set(selected[0]); |
| 1501 | } |
| 1502 | this.popupExpanded.set(false); |
| 1503 | } |
| 1504 | |
| 1505 | onBlur() { |
| 1506 | const flatNodes = this.flattenTreeNodes(this.dataSource()); |