@react-typed-forms/schemas 16.2.0 → 16.2.2
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/lib/index.cjs +3 -1
- package/lib/index.cjs.map +1 -1
- package/lib/index.js +3 -1
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/src/RenderForm.tsx +1 -0
- package/src/controlRender.tsx +1 -0
package/lib/index.js
CHANGED
|
@@ -1046,6 +1046,7 @@ function renderControlLayout(props) {
|
|
|
1046
1046
|
iconPlacement: c.iconPlacement,
|
|
1047
1047
|
icon: c.icon,
|
|
1048
1048
|
inline,
|
|
1049
|
+
disabled: state.disabled,
|
|
1049
1050
|
onClick: (_props$actionOnClick = props.actionOnClick == null ? void 0 : props.actionOnClick(c.actionId, actionData, dataContext)) != null ? _props$actionOnClick : () => {},
|
|
1050
1051
|
className: rendererClass(styleClass, c.styleClass),
|
|
1051
1052
|
style
|
|
@@ -1569,7 +1570,8 @@ function RenderForm({
|
|
|
1569
1570
|
readonly,
|
|
1570
1571
|
disabled,
|
|
1571
1572
|
variables,
|
|
1572
|
-
formState
|
|
1573
|
+
formState,
|
|
1574
|
+
hidden
|
|
1573
1575
|
});
|
|
1574
1576
|
const labelAndChildren = renderControlLayout({
|
|
1575
1577
|
formNode: form,
|