mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Updates forms/layout#saving-data-to-relationships documentation.
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user