Hi,
So Im trying to get this code to save below into my ri! field but no matter what I do it will not save. Can someone please tell me whats wrong here?
Discussion posts and replies are publicly visible
Hi
The expression in the saveInto parameter only evaluates when the user interacts with the component. Since you have made it as readOnly there is no user interaction hence so value is not populating. Can you explain your usecase?
If you want just populate this for DB writes, you can call it in the submit button saveInto likesaveInto:{
a!save(
ri!orders.products, concat(
ri!firstItem
)
}
Why do it there?