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.
@@ -7875,6 +7875,8 @@ const buildPropertiesSection = function(type) {
7875
7875
  break;
7876
7876
  case "Radio":
7877
7877
  uiSchema.elements = [
7878
+ getInputField("errorMessage", "Error Message"),
7879
+ emptyBox$1("Radio", { xs: 6, sm: 6, md: 8, lg: 9 }),
7878
7880
  getArrayControl("sectionLabels", "label", "Options Of Radio")
7879
7881
  ];
7880
7882
  break;
@@ -11807,8 +11809,7 @@ const RadioUiSchema = {
11807
11809
  layout: { xs: 12, sm: 6, md: 4, lg: 3 },
11808
11810
  main: {
11809
11811
  label: "Enabled",
11810
- options: ["YES", "NO"],
11811
- errorMessage: "Enabled is not marked as YES or NO"
11812
+ options: ["YES", "NO"]
11812
11813
  }
11813
11814
  }
11814
11815
  };
@@ -11825,6 +11826,9 @@ const buildRadio = (config2, componentScope2) => {
11825
11826
  if (config2.style) {
11826
11827
  Radio.config.style = JSON.parse(config2.style);
11827
11828
  }
11829
+ if (config2.errorMessage) {
11830
+ Radio.config.main.errorMessage = config2.errorMessage;
11831
+ }
11828
11832
  return Radio;
11829
11833
  };
11830
11834
  var emptyBox = {