@dartech/arsenal-ui 1.4.53 → 1.4.55

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.
Files changed (2) hide show
  1. package/index.js +9 -8
  2. 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
- try {
2317
- propObj.uiSettings = JSON.stringify(propObj.uiSettings, null, 2);
2318
- } catch (error) {
2319
- propObj.uiSettings = '';
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, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dartech/arsenal-ui",
3
- "version": "1.4.53",
3
+ "version": "1.4.55",
4
4
  "author": "DAR",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"