How can I access the model object inside the custom Edit page?
I want to access $support model inside the blade view. How can i access that?
6 Replies
Add it as a property or something in your component first
So if i inside the user edit page? How can I access the corresponding $user? Is there a default way? Can i access that user in the blade view using this
$record
?What is
$user
?
I don't get it why you do custom page?I'm new to filament. I want to add a custom livewire component to the Support Edit page. For that component, i want to pass the corresponding $support Object. I created custom edit page. Now it's working fine. but i want to know how can i access that editing record inside the blade? should i use
$data
or $record
or any other variable? @krekas$this->record
maybe. Don't remember. There should be something mentioned in the docsKrekas is correct