oa-componentbook 1.0.1-stage.86 → 1.0.1-stage.88

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.
@@ -283,9 +283,8 @@ function ApprovalWidget(_ref) {
283
283
  "data-test": dataTest ? "".concat(dataTest, "--remarks") : undefined,
284
284
  disabled: (_approvalForm$disable10 = approvalForm === null || approvalForm === void 0 ? void 0 : approvalForm.disabled) !== null && _approvalForm$disable10 !== void 0 ? _approvalForm$disable10 : false
285
285
  }))))), actionRenderType === "buttonWithFormV4" && /*#__PURE__*/_react.default.createElement(_antd.Form.Item, {
286
- name: "validateDocumentButton#".concat(questionId)
287
- // initialValue={isApproved}
288
- ,
286
+ name: "validateDocumentButton#".concat(questionId),
287
+ initialValue: approvalForm === null || approvalForm === void 0 ? void 0 : approvalForm.isApproved,
289
288
  rules: isMandatory ? [{
290
289
  required: true,
291
290
  message: dataTest ? /*#__PURE__*/_react.default.createElement("span", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oa-componentbook",
3
- "version": "1.0.1-stage.86",
3
+ "version": "1.0.1-stage.88",
4
4
  "private": false,
5
5
  "description": "Reusable components",
6
6
  "main": "build/index.js",