Skip to content

Commit d40b1e2

Browse files
committed
cleanup
1 parent f5f9412 commit d40b1e2

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

fields.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -731,16 +731,6 @@ The `HasOne` field is typically a handler for a `Illuminate\Database\Eloquent\Re
731731
$field = HasMany::make(__('Comments'), 'comments');
732732
```
733733

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-
744734
### MorphMany
745735

746736
The `MorphMany` field is typically a handler for a `Illuminate\Database\Eloquent\Relations\MorphMany` relation:

0 commit comments

Comments
 (0)