I need render children model in template, my parent model "Form" haves db field "field_id", where field_id equals id children model "Field". How can I access the child model? I tried add relation to Field model:
public $hasOne = [
'field' => ['\Webfather\Services\Models\Variation', 'key' => 'field_id']
];
and tried display in template:
{{form.field.name}}
but form.field was empty