Is there a way to insert a new record using a form object's data along with separate key value?
Or do I need to manually write the SQL statement or use the key value pairs changeset?
Hi @dru_nasty
Definitely possible by using Object.assign like this:
{{ Object.assign(form1.data, {"new":123}) }}
Or using the spread operator:
Let me know how this works for you!
Exactly what I needed, thank you!