MCPcopy Create free account
hub / github.com/angular/components / onCommit

Method onCommit

src/aria/combobox/combobox.spec.ts:1497–1503  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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());

Callers

nothing calls this directly

Calls 2

setMethod · 0.80
valueMethod · 0.45

Tested by

no test coverage detected