We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5f9412 commit d40b1e2Copy full SHA for d40b1e2
fields.md
@@ -731,16 +731,6 @@ The `HasOne` field is typically a handler for a `Illuminate\Database\Eloquent\Re
731
$field = HasMany::make(__('Comments'), 'comments');
732
```
733
734
-When using as subresource, you may define the related model's fields:
735
-
736
-```php
737
-$field->withFields(static function (Request $request): array {
738
- return [
739
- Textarea::make('Body'),
740
- Boolean::make('Approved'),
741
- ];
742
-});
743
744
### MorphMany
745
746
The `MorphMany` field is typically a handler for a `Illuminate\Database\Eloquent\Relations\MorphMany` relation:
0 commit comments