How to deal with a relationship's relationship in TextInputs?

My models are as follows: Order hasMany Products which each have a belongsTo ServiceFile. In a repeater, I'm listing my Order's Products, which works, but when I try to access fields on these Products' ServiceFiles, nothing shows up. My code:
Repeater::make('Products')
->relationship('Products')
->schema([
...
TextInput::make('serviceFile.name')
...
Repeater::make('Products')
->relationship('Products')
->schema([
...
TextInput::make('serviceFile.name')
...
Grateful for anyone who can point me in the right direction! Thanks.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server