@vitrosoftware/common-ui-ts 1.1.43 → 1.1.44

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.
@@ -17,6 +17,7 @@ interface FieldIteratorProps {
17
17
  fieldName: string;
18
18
  message: string;
19
19
  }[];
20
+ isReadOnly?: boolean;
20
21
  }
21
22
  export declare const FieldIterator: (props: FieldIteratorProps) => JSX.Element;
22
23
  export {};
package/dist/index.js CHANGED
@@ -64654,7 +64654,7 @@ var FieldIterator = function FieldIterator(props) {
64654
64654
  key: field.internalName,
64655
64655
  code: field.component ? field.component : field.fieldType.reactComponent,
64656
64656
  isRequired: field.isRequired,
64657
- isReadOnly: field.isReadOnly,
64657
+ isReadOnly: props.isReadOnly || field.isReadOnly,
64658
64658
  isDisabled: field.isDisabled,
64659
64659
  data: field.fieldValueMap,
64660
64660
  errorMessage: null,