Update 02-form.md

Changing old v3 Trait Name to new v4 one.
This commit is contained in:
Igor Clauss
2025-08-16 22:37:22 +02:00
committed by GitHub
parent 0f3e1a0264
commit f8498f957b
+1 -1
View File
@@ -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