How to modify a model before form fill?
Hello. I have a laravel form I'm trying to convert into Filament. Before loading the create page I would reach out to an external database for info about the user. Is this possible to do with a filament resource?
This function sets attributes on my Application model so I have access to them on the create page.
Solution:Jump to solution
In the View page of the resource you can call the function above from the mount method.
```
class ViewModel extends ViewRecord
{
protected static string $resource = ModelResource::class;...
1 Reply
Solution
In the View page of the resource you can call the function above from the mount method.