@dartech/arsenal-ui 1.4.53 → 1.4.55
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +9 -8
- package/package.json +1 -1
package/index.js
CHANGED
@@ -2312,13 +2312,13 @@ function propertiesObjectToArray(properties, fields) {
|
|
2312
2312
|
propObj.defaultValue = '';
|
2313
2313
|
}
|
2314
2314
|
}
|
2315
|
-
if (propObj['uiSettings']) {
|
2316
|
-
|
2317
|
-
|
2318
|
-
|
2319
|
-
|
2320
|
-
|
2321
|
-
}
|
2315
|
+
// if (propObj['uiSettings']) {
|
2316
|
+
// try {
|
2317
|
+
// propObj.uiSettings = JSON.stringify(propObj.uiSettings, null, 2);
|
2318
|
+
// } catch (error) {
|
2319
|
+
// propObj.uiSettings = '';
|
2320
|
+
// }
|
2321
|
+
// }
|
2322
2322
|
if (propObj['isMultiple']) {
|
2323
2323
|
if ('defaultValues' in propObj) {
|
2324
2324
|
propObj['defaultValue'] = propObj.defaultValues;
|
@@ -5962,7 +5962,8 @@ const CreatePropertyFormFields = /*#__PURE__*/memo(({
|
|
5962
5962
|
control: control,
|
5963
5963
|
name: `${propertyFieldName}.uiSettings`,
|
5964
5964
|
label: "UI Settings",
|
5965
|
-
validateJson: true
|
5965
|
+
validateJson: true,
|
5966
|
+
parseValue: true
|
5966
5967
|
})
|
5967
5968
|
}), jsxs(Grid, {
|
5968
5969
|
children: [jsx(ControlCheckbox, {
|