MCPcopy Index your code
hub / github.com/UI5/webcomponents / handleCancel

Method handleCancel

packages/main/src/MultiComboBox.ts:1955–1965  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1953 }
1954
1955 handleCancel() {
1956 this._itemsBeforeOpen.forEach(item => {
1957 if (isInstanceOfMultiComboBoxItem(item.ref)) {
1958 item.ref.selected = item.selected;
1959 }
1960 });
1961
1962 this._toggleTokenizerPopover();
1963
1964 this.value = this._valueBeforeOpen;
1965 }
1966
1967 handleOK() {
1968 if (isPhone()) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected