@bolttech/form-engine 3.0.1-beta.1 → 3.0.1-beta.3
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/index.esm.js +2 -2
- package/package.json +2 -2
package/index.esm.js
CHANGED
|
@@ -2129,7 +2129,7 @@ const FieldWrapper = ({
|
|
|
2129
2129
|
props,
|
|
2130
2130
|
context
|
|
2131
2131
|
}) => {
|
|
2132
|
-
var _a, _b;
|
|
2132
|
+
var _a, _b, _c;
|
|
2133
2133
|
const localContext = useFormGroupContext({});
|
|
2134
2134
|
/**
|
|
2135
2135
|
* picks the right context prioritizing the context passed as prop
|
|
@@ -2234,7 +2234,7 @@ const FieldWrapper = ({
|
|
|
2234
2234
|
}), jsx(FieldWrapperComponentRender, {
|
|
2235
2235
|
props: Object.assign(Object.assign(Object.assign(Object.assign({}, mapProps), state.props), state.errors), valueState),
|
|
2236
2236
|
fieldInstance: fieldInstance,
|
|
2237
|
-
children: children
|
|
2237
|
+
children: children ? children : ((_c = state === null || state === void 0 ? void 0 : state.props) === null || _c === void 0 ? void 0 : _c.children) ? state === null || state === void 0 ? void 0 : state.props.children : null
|
|
2238
2238
|
})]
|
|
2239
2239
|
}) : jsx(Fragment, {});
|
|
2240
2240
|
};
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bolttech/form-engine",
|
|
3
|
-
"version": "3.0.1-beta.
|
|
3
|
+
"version": "3.0.1-beta.03",
|
|
4
4
|
"description": "A react adapter for bolttech form engine",
|
|
5
5
|
"module": "./index.esm.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.esm.js",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@bolttech/form-engine-core": "0.0.2-beta.
|
|
9
|
+
"@bolttech/form-engine-core": "0.0.2-beta.03",
|
|
10
10
|
"react": "18.2.0",
|
|
11
11
|
"rxjs": "7.8.1"
|
|
12
12
|
},
|