Updates forms/layout#saving-data-to-relationships documentation.

This commit is contained in:
Faraz Samapoor
2023-04-14 16:43:03 +03:30
committed by GitHub
parent 739ed94da0
commit 07cbda0484
+1 -1
View File
@@ -168,7 +168,7 @@ Fieldset::make('Metadata')
])
```
In this example, the `title`, `description` and `image` is automatically loaded from saved to the `metadata` relationship, and saved again when the form is submitted. If the `metadata` record does not exist, it is automatically created.
In this example, the `title`, `description` and `image` are automatically loaded from the `metadata` relationship, and saved again when the form is submitted. If the `metadata` record does not exist, it is automatically created.
> To set this functionality up, **you must also follow the instructions set out in the [field relationships](getting-started#field-relationships) section**. If you're using the [admin panel](/docs/admin), you can skip this step.