Resource as wizard step
Hello everyone,
Thank you for so much hard work and great tool,
in my application there is a requirement to include related resource inside wizard step, i know about relation manager but it goes below wizard I want to have rated resource crud inside wizard step how can I achieve it?
16 Replies
You can use a repeater.
thanks for the suggestion but my form is very large and meed it inside model when creating or updating records
my simple use case is as below

as you can see tabs I have handled with wizard step and inside it's a full resource
so If somehow I can use resource directly as wizard step with relationship it will work easily
I think you mean the "table" with "resource". That's currently not possible, because the Wizard is a form component and that doesn't accept tables. You can create a custom page with a view file and use blade components for the wizard and add separate forms and tables for every step.
is there any sample available? so I can follow and solve the issue
Not at present, I used spatie media for mine, but tbh for yours you could probably use #awcodes-table-repeater
for my usecase media is attached with each record and each record belongs to parent record
I was able to build it but somehow file upload creates problem, file field inside modal doesn't work it doesn't save uploaded file when wizard is saved
Use a Repeater relation field inside your WizardStep schema. Filament will handle inline CRUD for the related model on form submit, so you get full create/read/update/delete inside the wizard without a separate RelationManager.
how can I use modal for my form? fields are a bit long so I need to have form inside modal create and edit managed to get it working except fileupload component is not working inside modal
in action callback fileupload form components data is not present
You need to share some more information.
I will share minimal repository with code so that you can understand

how can I merge this 2 tabs? tabs at top are relation manager groups and Edit tab is main form which already has tabs, is there anyway I can embed relation manager as form component so tabs are unified
I was hoping v4 might have some feature related to this
Yes exactly like this, Thanks so much @LeandroFerreira I will give it a shot
@LeandroFerreira thank you it worked like a charm