-
Hi, First time posting on any Github Discussion, so apologies in advance if I've not done it correctly 😅 . I have a Jetstream Livewire project under development, but I'm having trouble in passing additional data to the actual view that renders the form. So far my code looks like this ... TeamController
** resources/views/teams/create.php**
resources/views/teams/create-team-form.php
AFAIK livewire components need a public property with the same name as the one being passed through to allow access to the respective data in question. I've have tracked file in use Laravel\Jetstream\Http\Livewire\CreateTeamForm. However, I cannot find a way to publish and change it using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I figured it out ... You can just copy and paste the respective file in the vendor directory to your own projects location: Then inside of
|
Beta Was this translation helpful? Give feedback.
I figured it out ...
You can just copy and paste the respective file in the vendor directory to your own projects location:
Laravel\Jetstream\Http\Livewire\CreateTeamForm
->App\Http\Livewire\Teams
Then inside of
app/Providers/JetstreamServiceProvider.php
reset the livewire component reference as follows: