How can I do it this way?
Editing and creation screens open differently from each other in the demo. I wonder how I can do it this way?
9 Replies
the demo is open source
Yes, I know, but when I looked, I couldn't get an idea of how it was done.
GitHub
demo/CreateOrder.php at main · filamentphp/demo
Source code for the demo.filamentphp.com website. Contribute to filamentphp/demo development by creating an account on GitHub.
I did it this way, but editing and rendering still looks the same. Orders also seems to have a wizard but I can't see it in the source code.
have you used the HasWizard trait like in the file I sent
on the Create page
yes it started returning this error after using it
you dont need to copy exactly what we do
in this case we're storing a reusable schema on the model
you just need to follow these steps - https://filamentphp.com/docs/2.x/admin/resources/creating-records#wizards
Filament
Creating records - Resources - Admin Panel - Filament
The elegant TALL stack admin panel for Laravel artisans.
I understand thank you