@rangertechnologies/ngnxt 2.1.280 → 2.1.281

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.
@@ -314,7 +314,7 @@ class CustomDatepickerComponent {
314
314
  onMonthSelect() {
315
315
  this.modelChange.emit({
316
316
  from: this.languageCode === 'ar' ? 'gregorianAr' : 'gregorian',
317
- date: { year: this.monthYear.year, month: this.monthYear.month }
317
+ date: { year: this.monthYear.year, month: (this.monthYear.month).toString().padStart(2, '0') }
318
318
  });
319
319
  }
320
320
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: CustomDatepickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -51705,7 +51705,7 @@ class NxtDatatable {
51705
51705
  }
51706
51706
  updateEdit(index, value, element, column, type) {
51707
51707
  if (type === 'list') {
51708
- value = (value.valueObj && typeof value.valueObj === 'object' && !Array.isArray(value.valueObj)) ? this.dataService.getValue(value?.valueObj, value?.field) : value.valueObj;
51708
+ value = (value.valueObj && typeof value.valueObj === 'object' && !Array.isArray(value.valueObj)) ? value.isObject ? value?.valueObj : this.dataService.getValue(value?.valueObj, value?.field) : value.valueObj;
51709
51709
  }
51710
51710
  else {
51711
51711
  value = value.valueObj ? value.valueObj : value;
@@ -57529,7 +57529,7 @@ const VERSION = {
57529
57529
  "semver": null,
57530
57530
  "suffix": "09440148-dirty",
57531
57531
  "semverString": null,
57532
- "version": "2.1.280"
57532
+ "version": "2.1.281"
57533
57533
  };
57534
57534
  /* tslint:enable */
57535
57535