contentoh-components-library 21.5.2 → 21.5.4

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.
@@ -235,7 +235,7 @@ var InputGroup = function InputGroup(_ref) {
235
235
  label: (input === null || input === void 0 ? void 0 : input.name) + (input.required ? "*" : ""),
236
236
  value: compare ? auditInputGroup === null || auditInputGroup === void 0 ? void 0 : (_auditInputGroup$inpu = auditInputGroup.inputs[index]) === null || _auditInputGroup$inpu === void 0 ? void 0 : _auditInputGroup$inpu.value : input === null || input === void 0 ? void 0 : input.value,
237
237
  isRequired: input.required,
238
- disabled: input === null || input === void 0 ? void 0 : input.isApproved,
238
+ disabled: input.id === 44186 || input.id === 44187 ? false : input === null || input === void 0 ? void 0 : input.isApproved,
239
239
  maxChar: input.max_chars,
240
240
  inputPlaceHolder: input === null || input === void 0 ? void 0 : input.placeholder,
241
241
  updatedDescriptions: updatedDescriptions,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contentoh-components-library",
3
- "version": "21.5.2",
3
+ "version": "21.5.4",
4
4
  "dependencies": {
5
5
  "@aws-amplify/auth": "^4.5.3",
6
6
  "@aws-amplify/datastore": "^3.11.0",
@@ -259,7 +259,7 @@ export const InputGroup = ({
259
259
  : input?.value
260
260
  }
261
261
  isRequired={input.required}
262
- disabled={input?.isApproved}
262
+ disabled={input.id===44186||input.id===44187?false:input?.isApproved}
263
263
  maxChar={input.max_chars}
264
264
  inputPlaceHolder={input?.placeholder}
265
265
  updatedDescriptions={updatedDescriptions}