F
Filament3w ago
Enas

pass data from Livewire to Wizard

Hello all, I have wizard with 3 steps, how to pass data ($existingUsersCount) from livewire to 3rd step, my code in attachments.
No description
No description
14 Replies
LeandroFerreira
Are you using a custom page?
Enas
EnasOP3w ago
I have header action that show wizard in modal, the first step upload csv, the second one to edit the uploaded data and the last step is about show statistics (I want to show num of existing users) and I have livewire component with its blade.
No description
LeandroFerreira
Where is the livewire component?
Enas
EnasOP3w ago
I will share the code with you, in SSOUserResource I have header action (import).
LeandroFerreira
could you share on gist please?
Enas
EnasOP3w ago
sorry where?
LeandroFerreira
Gist
Discover gists
GitHub Gist: instantly share code, notes, and snippets.
Enas
EnasOP3w ago
LeandroFerreira
ok but where are you using ImportUsersTable component?
Enas
EnasOP3w ago
In second step to enable user to edit upload data,
No description
LeandroFerreira
you don't need to use a placeholder to render a LW component. You can do this
Enas
EnasOP3w ago
well, but my main issue is how to pass $existingUserscount from LW to filament
LeandroFerreira
You mean, from LW to Wizard?
Want results from more Discord servers?
Add your server