Skip to content

fix(USelectEntity): displaying of the label in case several consecutive changes of the selected value were made

Chernykh Denys requested to merge fix/u-select-entity_labels-fetching into master

The setQueryByValue method could handle label assignment in two modes: synchronous (in case the label is already loaded) and asynchronous (the label for the current value is not loaded yet). This approach led to situation when actual label (preloaded and obtained synchronously) was overwritten by irrelevant one (obtained by asynchronous fetch) in case of several consecutive changes.

Also raising conditions beetween several asynchronous fetches were possible as well.

Merge request reports

Loading