Dependant select with multiple options

I have 2 select where I can select several options and both are many to many with a polymorphic relationship.
Right now the second does not depend on the first and it is what I need. Would it be possible?

Actual code:
Select::make('nationable')
    ->relationship(name: 'nations', titleAttribute: 'name')
    ->searchable()
    ->preload()
    ->multiple()
    ->required(),

Select::make('champable')
    ->relationship(name: 'championships', titleAttribute: 'name')
    ->searchable()
    ->preload()
    ->multiple()
    ->required(),
Was this page helpful?