bc-primeng-ui 0.0.2 → 0.0.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.
@@ -378,7 +378,6 @@ class CustomDatepickerComponent {
378
378
  }
379
379
  ngControlInstance = null;
380
380
  ngOnInit() {
381
- debugger;
382
381
  if (this.controlContainer && this.formControlName) {
383
382
  this.control = this.controlContainer.control?.get(this.formControlName);
384
383
  if (this.control) {
@@ -3946,7 +3945,12 @@ class BCGenericPTableComponent {
3946
3945
  }
3947
3946
  getFormattedValue(item, column) {
3948
3947
  try {
3949
- return this.formattingService.formatCell(item, column, this.countryCustom);
3948
+ const field = column.field;
3949
+ const value = field.split('.').reduce((current, key) => current?.[key], item);
3950
+ if (value == null) {
3951
+ return '';
3952
+ }
3953
+ return String(value);
3950
3954
  }
3951
3955
  catch (error) {
3952
3956
  console.error('Erro retornado pelo serviço de formatação:', error);