Select::createOptionForm fill?

I have an Action with 2 wizard steps. The first step contains a
Select
input with a
createOptionForm
from another resource. How can I fill in some values to this form based on the current record?

Minimal example (with some details removed for brevity):
Forms\Components\Select::make('assigned_user_id')
  ->relationship('assignedUser', 'name')
  ->createOptionForm(function (Form $form) {
      return UserResource::form($form)
          ->fill(['name' => 'testing']); // This is not working??
  })
Was this page helpful?