mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Update 02-form.md
Changing old v3 Trait Name to new v4 one.
This commit is contained in:
@@ -246,7 +246,7 @@ public function form(Schema $schema): Schema
|
||||
|
||||
## Using multiple forms
|
||||
|
||||
By default, the `InteractsWithForms` trait only handles one form per Livewire component - `form()`. To add more forms to the Livewire component, you can define them in the `getForms()` method, and return an array containing the name of each form:
|
||||
By default, the `InteractsWithSchemas` trait only handles one form per Livewire component - `form()`. To add more forms to the Livewire component, you can define them in the `getForms()` method, and return an array containing the name of each form:
|
||||
|
||||
```php
|
||||
protected function getForms(): array
|
||||
|
||||
Reference in New Issue
Block a user