@dartech/arsenal-ui 1.3.63 → 1.3.64
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/index.js +3 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -1435,7 +1435,8 @@ const formatTableRowValue = ({
|
|
1435
1435
|
const digitsOnly = new RegExp('^[-+]?[0-9]+$');
|
1436
1436
|
const floatsOnly = new RegExp(/^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/);
|
1437
1437
|
const isExpression = value => {
|
1438
|
-
return typeof value === 'string' ? value.includes('$(') : false;
|
1438
|
+
// return typeof value === 'string' ? value.includes('$(') : false;
|
1439
|
+
return typeof value === 'string' ? /\$(?:S?JS)?\(/g.test(value) : false;
|
1439
1440
|
};
|
1440
1441
|
const isDateType = propertyType => {
|
1441
1442
|
return propertyType === PropertyType.DATE || propertyType === PropertyType.DATE_TIME || propertyType === PropertyType.TIME;
|
@@ -4206,6 +4207,7 @@ const MultiplePropertyFiller = ({
|
|
4206
4207
|
}, [value, property, onChange]);
|
4207
4208
|
useEffect(() => {
|
4208
4209
|
if (value && !selectTouched) {
|
4210
|
+
setSelectTouched(true);
|
4209
4211
|
checkFillOption();
|
4210
4212
|
}
|
4211
4213
|
}, [checkFillOption, selectTouched, value]);
|