ngx-render-material-forms 1.6.7 → 1.6.9

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.
@@ -3230,7 +3230,7 @@ class MaterialDataGridComponent extends MaterialNestedComponent {
3230
3230
  }
3231
3231
  setInstance(instance) {
3232
3232
  const checkAttribute = instance?.component?.attributes;
3233
- this.checkSubmissionStatus = this.commonService.checkIsAttributeTrue(checkAttribute, 'isProductRequired');
3233
+ this.checkSubmissionStatus = this.commonService.checkIsAttributeTrue(checkAttribute, 'isProductOptional');
3234
3234
  this.hasValueAndEditMode = ((checkAttribute?.hasValue === 'yes' ?? false) && (checkAttribute?.editMode === 'true' ?? false));
3235
3235
  super.setInstance(instance);
3236
3236
  if (this.checkSubmissionStatus && !this.hasValueAndEditMode) {