monkey-front-components 0.0.786 → 0.0.787
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.
- package/esm2020/lib/components/shared/filter/options/value-range/value-range.component.mjs +14 -9
- package/fesm2015/monkey-front-components.mjs +13 -8
- package/fesm2015/monkey-front-components.mjs.map +1 -1
- package/fesm2020/monkey-front-components.mjs +13 -8
- package/fesm2020/monkey-front-components.mjs.map +1 -1
- package/monkey-front-components-0.0.787.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-components-0.0.786.tgz +0 -0
|
@@ -2084,14 +2084,19 @@ class MECXFilterOptionsValueRangeComponent extends BaseComponent {
|
|
|
2084
2084
|
}
|
|
2085
2085
|
const { value } = _form;
|
|
2086
2086
|
let { max, min } = value;
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2087
|
+
try {
|
|
2088
|
+
if (!!min && !!max && Number(min) > Number(max)) {
|
|
2089
|
+
this.__monkeyecxFormErrors = {
|
|
2090
|
+
min: {
|
|
2091
|
+
firstMessage: 'ERRORS.MIN-GREATHER-THAN-MAX',
|
|
2092
|
+
lastMessage: ''
|
|
2093
|
+
}
|
|
2094
|
+
};
|
|
2095
|
+
return;
|
|
2096
|
+
}
|
|
2097
|
+
}
|
|
2098
|
+
catch (e) {
|
|
2099
|
+
// not to do
|
|
2095
2100
|
}
|
|
2096
2101
|
const handleValidators = (param) => {
|
|
2097
2102
|
const found = this.option.validators.find(({ name }) => {
|