impaktapps-ui-builder 1.0.98 → 1.0.99

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "1.0.98",
3
+ "version": "1.0.99",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -12,8 +12,7 @@ const RadioUiSchema = {
12
12
  layout: { xs: 12, sm: 6, md: 4, lg: 3 },
13
13
  main: {
14
14
  label: "Enabled",
15
- options: ["YES", "NO"],
16
- errorMessage: "Enabled is not marked as YES or NO",
15
+ options: ["YES", "NO"]
17
16
  },
18
17
  },
19
18
  };
@@ -31,5 +30,8 @@ const RadioUiSchema = {
31
30
  if (config.style) {
32
31
  Radio.config.style = JSON.parse(config.style)
33
32
  }
33
+ if (config.errorMessage) {
34
+ Radio.config.main.errorMessage = config.errorMessage
35
+ }
34
36
  return Radio;
35
37
  }
@@ -495,7 +495,9 @@ export const buildPropertiesSection = function (type: String) {
495
495
  break;
496
496
  case "Radio":
497
497
  uiSchema.elements = [
498
- getArrayControl("sectionLabels", "label", "Options Of Radio"),
498
+ getInputField("errorMessage", "Error Message"),
499
+ emptyBox("Radio", { xs: 6, sm: 6, md: 8, lg: 9 }),
500
+ getArrayControl("sectionLabels", "label", "Options Of Radio")
499
501
  ]
500
502
  break;
501
503
  case "Select":