Custom page for resource

Would it be possible to create a custom Resource Page with the same functionality as the EditPage with its own route? I’m trying to have two different ’layouts’ for the EditPage: one for the normal editing of a record and one for e.g. comparing a record with other values. Like a diff. Is something like this possible?
4 Replies
awcodes
awcodes15mo ago
I don’t see any reason you couldn’t. Just make a custom page. And use livewire components for your views.
Daniel Plomp
Daniel PlompOP15mo ago
Yeah, I understand that is possible. But would it be possible to implement the EditRecord page? I would like to use all that functionality. Not build all myself 🙂
Hasnayeen
Hasnayeen15mo ago
yes, just use custom page extending EditRecord class and add the page to getPages() method
Daniel Plomp
Daniel PlompOP15mo ago
Thanks. I will try that.
Want results from more Discord servers?
Add your server