Is it possible to pre-populate this form with some data?

I have a custom widget, with a heading defined like so:

<div class="flex items-center justify-between">
    <p class="font-bold text-xl">Contacts</p>
    <x-filament::button tag="a" href="{{
        \App\Filament\Resources\ContactResource::getUrl(parameters: [
            'action' => \Filament\Actions\CreateAction::getDefaultName()
        ])
    }}">
        Add Contact
    </x-filament::button>
</div>


This widget lives on a Company details page, what I would like to do when adding the contact, is to be able to pre-populate some of the information that will come from the company, such as the address.

Is this possible with my current implementation or would I have to change to work?
Was this page helpful?