lots that belongsTo a collection buildings and a collection owners. If when I create a lot, the owner and building record it should belong to do not exist yet, I want to have input fields available in the lot create form so I can create them along with the lot in a single API call.
Add smart fields that will be used as input fields in the form
You can declare smart fields that will not be meant to display any information but solely to serve as input fields. In my example the fields are declared as follows in theforest/lots.js file: