@builttocreate/engine-utils 1.8.1-rc.1.2.3 → 1.8.1-rc.1.2.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.
- package/dist/tableHelper.js +1 -3
- package/package.json +1 -1
package/dist/tableHelper.js
CHANGED
|
@@ -735,11 +735,9 @@ var getRowLookupWithPopulatedDropdownCells = function getRowLookupWithPopulatedD
|
|
|
735
735
|
columns.forEach(function (column, i) {
|
|
736
736
|
var optionId = nextRow.cells[column._id];
|
|
737
737
|
|
|
738
|
-
if (optionId && optionId.charAt(0) === '=') {
|
|
738
|
+
if (optionId && optionId.charAt(0) === '=' && column.type === _FieldTableColumnTypes["default"].text) {
|
|
739
739
|
var columnOperand = getColumnOperand(i);
|
|
740
740
|
var cellOperand = getCellOperand(columnOperand, rowIndex + 1);
|
|
741
|
-
console.log('celloperand', cellOperand);
|
|
742
|
-
console.log('tableLookup', tableLookup);
|
|
743
741
|
nextRow.cells[column._id] = tableLookup[cellOperand];
|
|
744
742
|
} else if (optionId && column.type === _FieldTableColumnTypes["default"].dropdown) {
|
|
745
743
|
nextRow.cells[column._id] = column.optionsLookup[optionId] ? column.optionsLookup[optionId].value : optionId;
|