@neoprototype/neop-ui-lib 1.0.32 → 1.0.33

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.
@@ -1974,7 +1974,7 @@ class NpTableComponent {
1974
1974
  set dataSource(value) {
1975
1975
  this._dataSource =
1976
1976
  value?.map((row) => {
1977
- const selectFc = new FormControl(false);
1977
+ const selectFc = row?.selectFc ?? new FormControl(false);
1978
1978
  selectFc.valueChanges.subscribe((checked) => {
1979
1979
  this.rowChecked.emit({ row, checked: !!checked });
1980
1980
  });