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

Method _updateValueState

packages/main/src/MultiComboBox.ts:809–820  ·  view source on GitHub ↗
(newValueState: `${ValueState}`)

Source from the content-addressed store, hash-verified

807 }
808
809 _updateValueState(newValueState: `${ValueState}`) {
810 const oldValueState = this.valueState;
811 if (oldValueState !== newValueState) {
812 const eventPrevented = !this.fireDecoratorEvent("value-state-change", {
813 valueState: newValueState,
814 });
815
816 if (!eventPrevented) {
817 this.valueState = newValueState;
818 }
819 }
820 }
821
822 _tokenDelete(e: CustomEvent<TokenizerTokenDeleteEventDetail>) {
823 this._previouslySelectedItems = this._getSelectedItems();

Callers 5

_inputLiveChangeMethod · 0.95
_handleEnterMethod · 0.95
_resetValueStateMethod · 0.95
_listSelectionChangeMethod · 0.95
inputFocusOutMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected