impaktapps-ui-builder 0.0.393-alpha.7 → 0.0.393-alpha.8

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": "0.0.393-alpha.7",
3
+ "version": "0.0.393-alpha.8",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -86,16 +86,10 @@ function buildRule(configObj: any, tableName?: string, arrayHolderName?: boolean
86
86
  }
87
87
  else if ((configObj.type === "Select" || configObj.type === "MultipleSelect") && configObj.value?.length === 0){
88
88
  if (configObj.type === "Select") {
89
- schema.properties[configObj.name] = {
90
- oneOf: []
91
- }
89
+ schema.properties[configObj.name] = {}
92
90
  }
93
91
  else if (configObj.type === "MultipleSelect") {
94
- schema.properties[configObj.name] = {
95
- items: {
96
- oneOf: []
97
- }
98
- }
92
+ schema.properties[configObj.name] = {}
99
93
  }
100
94
  }
101
95
  if (configObj.validation) {