Form with deeper relationship

Hi everyone,
Is it possible to have a form relationship using a deeper model relationship, such as:

Applicant -> User -> PersonalInformation

I want to create a form for PersonalInformation model in ApplicantResource.

I've tried something like:

Grid::make()
->relationship('user.personalInformation')
->schema([
  TextInput::make('phone_number')
])


It doesn't work.

Thank you!
Was this page helpful?