0👍
✅
It worked with a serialization of the resulting object in the view
0👍
attributes['data'].value
will allways be string, so you cannot read .firstname directly.
Try running console.log(document.getElementById('app')?.attributes)
in this place of code and show us what did you get.
Source:stackexchange.com