@eqproject/eqp-dynamic-module 2.7.17 → 2.7.18

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.
@@ -4509,35 +4509,17 @@ class DbgetterComponent {
4509
4509
  this.showQE = true;
4510
4510
  }
4511
4511
  selectValue(row, value) {
4512
+ var valueToBeSet = "";
4512
4513
  if (this.field.DataGetter.DataGetterColumnForce == null) {
4513
- this.selectValueNotForced(value);
4514
+ valueToBeSet = value;
4514
4515
  }
4515
4516
  else {
4516
- this.selectValueForced(row);
4517
+ valueToBeSet = row[this.field.DataGetter.DataGetterColumnForce.key];
4517
4518
  }
4518
- }
4519
- selectValueNotForced(value) {
4520
- if (value == null) {
4521
- value = "";
4522
- this.showButtonReply = false;
4523
- }
4524
- else {
4525
- this.showButtonReply = true;
4526
- }
4527
- this.record[this.field.Name] = value;
4528
- this.showTable = false;
4529
- this.showQE = false;
4530
- this.selectedValue.emit([value, false]);
4531
- }
4532
- selectValueForced(row) {
4533
- var valueToBeSet = row[this.field.DataGetter.DataGetterColumnForce.key];
4534
4519
  if (valueToBeSet == null) {
4535
4520
  valueToBeSet = "";
4536
- this.showButtonReply = false;
4537
- }
4538
- else {
4539
- this.showButtonReply = true;
4540
4521
  }
4522
+ this.showButtonReply = true;
4541
4523
  this.record[this.field.Name] = valueToBeSet;
4542
4524
  this.showTable = false;
4543
4525
  this.showQE = false;