Peppe
Peppe
FFilament
Created by Peppe on 10/23/2024 in #❓┊help
Issue on Select Field with a second level relation.
THANKSSSSSSS
16 replies
FFilament
Created by Peppe on 10/23/2024 in #❓┊help
Issue on Select Field with a second level relation.
it works
16 replies
FFilament
Created by Peppe on 10/23/2024 in #❓┊help
Issue on Select Field with a second level relation.
No description
16 replies
FFilament
Created by Peppe on 10/23/2024 in #❓┊help
Issue on Select Field with a second level relation.
Forms\Components\Select::make('mediatags')
->label('Tag')
->multiple()
->preload()
->placeholder('Seleziona')
->relationship('media.tags', 'label')
->pivotData(['media_id' => fn(Get $get) => $get('media_id') ])
->required(),

Forms\Components\TextInput::make('media_id'),
Forms\Components\Select::make('mediatags')
->label('Tag')
->multiple()
->preload()
->placeholder('Seleziona')
->relationship('media.tags', 'label')
->pivotData(['media_id' => fn(Get $get) => $get('media_id') ])
->required(),

Forms\Components\TextInput::make('media_id'),
i think i can't use like this?
16 replies
FFilament
Created by Peppe on 10/23/2024 in #❓┊help
Issue on Select Field with a second level relation.
i tried right now, but still not working...
Forms\Components\Select::make('mediatags')
->label('Tag')
->multiple()
->preload()
->placeholder('Seleziona')
->relationship('media.tags', 'label')
->required(),
Forms\Components\Select::make('mediatags')
->label('Tag')
->multiple()
->preload()
->placeholder('Seleziona')
->relationship('media.tags', 'label')
->required(),
I've seen the docs before asking 😁
16 replies
FFilament
Created by Peppe on 10/23/2024 in #❓┊help
Issue on Select Field with a second level relation.
many to many, sorry
16 replies
FFilament
Created by Xavi on 10/23/2024 in #❓┊help
Navigation item bottom
maybe giving the highest value in the navigation sort?
11 replies