ngx-wapp-components 3.3.3-alpha.2 → 3.3.3-alpha.3
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.
|
@@ -6450,7 +6450,7 @@ class WFilterPanelComponent {
|
|
|
6450
6450
|
const defaultValue = Object.prototype.hasOwnProperty.call(this.defaultFieldValues, filterField.jsonName)
|
|
6451
6451
|
? this.defaultFieldValues[filterField.jsonName]
|
|
6452
6452
|
: apiDefaultValue;
|
|
6453
|
-
console.log(
|
|
6453
|
+
console.log(defaultValue);
|
|
6454
6454
|
let field = {
|
|
6455
6455
|
id: filterField.id,
|
|
6456
6456
|
name: filterField.name,
|
|
@@ -6532,7 +6532,10 @@ class WFilterPanelComponent {
|
|
|
6532
6532
|
if (type == this.qbDataTypeEnum.BooleanSelect) {
|
|
6533
6533
|
return 1;
|
|
6534
6534
|
}
|
|
6535
|
-
if (type == this.qbDataTypeEnum.Multiselect && typeof value === 'string') {
|
|
6535
|
+
if (type == this.qbDataTypeEnum.Multiselect && (typeof value === 'string' || Array.isArray(value))) {
|
|
6536
|
+
if (Array.isArray(value)) {
|
|
6537
|
+
return value;
|
|
6538
|
+
}
|
|
6536
6539
|
return this.parseStringToNumberArray(value);
|
|
6537
6540
|
}
|
|
6538
6541
|
if (type == this.qbDataTypeEnum.TranslatedSelect) {
|