ods-component-lib 1.17.34 → 1.17.36

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.
package/dist/index.js CHANGED
@@ -599,8 +599,9 @@ function OdsPhoneInput(props) {
599
599
  enableSearch: props === null || props === void 0 ? void 0 : props.enableSearchField,
600
600
  value: props === null || props === void 0 ? void 0 : props.value,
601
601
  onChange: props === null || props === void 0 ? void 0 : props.onChange,
602
+ placeholder: props === null || props === void 0 ? void 0 : props.placeholder,
602
603
  inputProps: {
603
- required: true
604
+ required: props === null || props === void 0 ? void 0 : props.required
604
605
  }
605
606
  }));
606
607
  }
@@ -1224,6 +1225,7 @@ function grid(props, dataGridRef) {
1224
1225
  });
1225
1226
  });
1226
1227
  } else {
1228
+ debugger;
1227
1229
  var doc = new jsPDF();
1228
1230
  pdf_exporter.exportDataGrid({
1229
1231
  jsPDFDocument: doc,
@@ -1231,6 +1233,9 @@ function grid(props, dataGridRef) {
1231
1233
  indent: 5
1232
1234
  }).then(function () {
1233
1235
  doc.save(fileName + '.pdf');
1236
+ }).then(function () {
1237
+ e.component.columnOption('hiddenColumn', 'visible', false);
1238
+ e.component.endUpdate();
1234
1239
  });
1235
1240
  }
1236
1241
  };