@acorex/components 20.8.14 → 20.8.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -141,7 +141,8 @@ class AXSelectBoxComponent extends classes(MXDropdownBoxBaseComponent, MXSelecti
141
141
  * This prevents showing "loading..." when the component has a value.
142
142
  */
143
143
  async fetchItemDataIfNeeded() {
144
- if (this.value && this._listDataSource && !this.selectedItems?.length) {
144
+ const isEmptyValue = this.value == null || (Array.isArray(this.value) && this.value.length === 0);
145
+ if (!isEmptyValue && this._listDataSource && !this.selectedItems?.length) {
145
146
  try {
146
147
  const item = await this.getItemByKey(this.value);
147
148
  if (item) {