@dartech/arsenal-ui 1.4.15 → 1.4.16
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +1 -9
- package/package.json +1 -1
package/index.js
CHANGED
@@ -1530,6 +1530,7 @@ const formatPropertyValue = (propertyType, value, params) => {
|
|
1530
1530
|
if (value === null || value === undefined) {
|
1531
1531
|
return null;
|
1532
1532
|
}
|
1533
|
+
if (isExpression(value)) return value;
|
1533
1534
|
let parsedValue = value;
|
1534
1535
|
// console.log(value);
|
1535
1536
|
switch (propertyType) {
|
@@ -5978,15 +5979,6 @@ const PropertyFiller = ({
|
|
5978
5979
|
}
|
5979
5980
|
}
|
5980
5981
|
}, [value, property, name, fillOption, isDirty, setValue, defaultProperyValue]);
|
5981
|
-
// useEffect(() => {
|
5982
|
-
// if (
|
5983
|
-
// isPropertyValueEmpty(value) &&
|
5984
|
-
// property.propertyType !== PropertyType.JSON
|
5985
|
-
// ) {
|
5986
|
-
// console.log('setValue', name, value);
|
5987
|
-
// setValue(name, value);
|
5988
|
-
// }
|
5989
|
-
// }, [name, setValue, value, property]);
|
5990
5982
|
return jsxs(Grid, Object.assign({
|
5991
5983
|
xs: 12
|
5992
5984
|
}, {
|