erictgrubaugh
10/09/2020, 9:22 PMsetValue is overloaded to also accept multiple parameters instead of a single Object is causing a problem using it as a forEach callbackbattk
10/09/2020, 9:29 PMerictgrubaugh
10/09/2020, 9:31 PM].forEach(f => rec.setValue(f))stalbert
10/10/2020, 1:56 AMObject.assign(rec, { companyname: data.name, phone: data.phone}) . If your data property names matched the fields it'd be just Object.assign(rec, data) intuitive per standard JS, no?