Testing createOptionForm within an action
Whats the recommened way to test a createOptionForm within an action? I had this working in v3 but in v4 I get this error
Unable to set component data. Public property [$mountedFormComponentActionsData] not found on component
Solution:Jump to solution
This can be solved using the new
TestAction
class introduced in V4.
```livewire(Devices::class, ['folder' => $this->folder, 'account' => $this->client])
->mountAction('createDevice')
->mountAction(TestAction::make('createOption')->schemaComponent('device_manufacturer_id'))...2 Replies
any luck?
Solution
This can be solved using the new
TestAction
class introduced in V4.