diff --git a/force-app/main/default/lwc/stickySelectronMain/stickySelectronMain.js b/force-app/main/default/lwc/stickySelectronMain/stickySelectronMain.js index 32aa3fe..5a9e5d8 100644 --- a/force-app/main/default/lwc/stickySelectronMain/stickySelectronMain.js +++ b/force-app/main/default/lwc/stickySelectronMain/stickySelectronMain.js @@ -127,13 +127,18 @@ export default class StickySelectronMain extends LightningElement { this.selectedTableFieldNames.length ) { this.selectedTableFieldNames.forEach((fieldName) => { - const fieldLabel = fieldInfo.fieldLabels[fieldName]; + const fieldLabel = + fieldInfo.fieldLabels[fieldName].label; + const fieldType = fieldInfo.fieldLabels[fieldName].type; + const fieldScale = + fieldInfo.fieldLabels[fieldName].scale; if (fieldLabel) { this.fieldsOnRight.push({ label: fieldLabel, fieldname: fieldName, isDynamic: true, - sfType: '' + sfType: fieldType, + sfScale: fieldScale }); } else { this.showError(