data data:
data: { assets: null }
setData method using [ "Object attribute"] way to update the value of a property.
this.setData({ ["assets.diamonds"]: diamonds });
data data:
data: { assets: null }
setData method using [ "Object attribute"] way to update the value of a property.
this.setData({ ["assets.diamonds"]: diamonds });