@ukhomeoffice/cop-react-form-renderer 4.82.0 → 4.82.1
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.
|
@@ -349,12 +349,16 @@ var InternalFormRenderer = function InternalFormRenderer(_ref2) {
|
|
|
349
349
|
(0, _onPageAction.default)(action, patch, patchLabel, hooks, data, formState, validate, onPageChange, type, pages, components, pageId, setPagePoint, currentTask, setData, hubDetails, setSubmitted, addErrors);
|
|
350
350
|
},
|
|
351
351
|
onChange: onChange,
|
|
352
|
-
hashLink: hashLink
|
|
352
|
+
hashLink: hashLink,
|
|
353
|
+
classModifiers: formState.page.classModifiers,
|
|
354
|
+
className: formState.page.className
|
|
353
355
|
}), formState.page && !formState.cya && formState.page.collection && /*#__PURE__*/_react.default.createElement(_CollectionPage.default, {
|
|
354
356
|
page: formState.page,
|
|
355
357
|
onAction: function onAction(action, patch, patchLabel) {
|
|
356
358
|
(0, _onPageAction.default)(action, patch, patchLabel, hooks, data, formState, validate, onPageChange, type, pages, components, pageId, setPagePoint, currentTask, setData, hubDetails, setSubmitted, addErrors);
|
|
357
|
-
}
|
|
359
|
+
},
|
|
360
|
+
classModifiers: formState.page.classModifiers,
|
|
361
|
+
className: formState.page.className
|
|
358
362
|
}));
|
|
359
363
|
};
|
|
360
364
|
var propTypes = {
|