diginet-core-ui 1.4.1-beta.1 → 1.4.1-beta.2
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.
|
@@ -404,6 +404,7 @@ const Dropdown = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
|
|
|
404
404
|
const length = dataSourceUsable.length;
|
|
405
405
|
for (let index = 0; index < length; index++) {
|
|
406
406
|
const data = dataSourceUsable[index];
|
|
407
|
+
if (!data) continue;
|
|
407
408
|
const itemHidden = typeof data === 'object' ? data['hidden'] : false;
|
|
408
409
|
if (itemHidden) continue;
|
|
409
410
|
let displayText = displayValue(data);
|
|
@@ -990,6 +991,7 @@ const Dropdown = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
|
|
|
990
991
|
valueArr.forEach(v => {
|
|
991
992
|
var _currentObjectDefault4;
|
|
992
993
|
for (let i = 0; i < length; i++) {
|
|
994
|
+
if (!dataSourceState[i]) continue;
|
|
993
995
|
if (typeof dataSourceState[i] === 'object' && dataSourceState[i][valueExpr] === v || dataSourceState[i] === v) {
|
|
994
996
|
setMultipleValueHandler(dataSourceState[i], v, keyArr, i);
|
|
995
997
|
return;
|
|
@@ -1006,6 +1008,7 @@ const Dropdown = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
|
|
|
1006
1008
|
var _currentObjectDefault5;
|
|
1007
1009
|
currentValue[unique] = source;
|
|
1008
1010
|
for (let i = 0; i < length; i++) {
|
|
1011
|
+
if (!dataSourceState[i]) continue;
|
|
1009
1012
|
if (dataSourceState[i][valueExpr] === source || dataSourceState[i] === source) {
|
|
1010
1013
|
setSingleValueHandler(dataSourceState[i], keyArr);
|
|
1011
1014
|
return;
|