lovinghouston / lwcgoogleplacesbutton

Adds a Lightning Web Component to create Google Place Listings (currently hardcoded to type "church") as a Salesforce object (currently hardcoded to a custom object named Church_School_Partnership__c).
3 stars 1 forks source link

After Clicking the Button, Distance Shows as Incorrect Large Value #65

Open sungysang opened 4 years ago

sungysang commented 4 years ago

This was only occurring for new CSP records that were displayed in the data table, so I believe it has something to do with the formula field not calculating in time to display properly in the data table.

Potential solution is to calculate the distance within the Apex before inserting so that it's pre-calculated, although I was running into errors when attempting to do this