Ashk
Ashk
FFilament
Created by John Wink on 4/17/2024 in #❓┊help
Cluster Pages + Navigation Groups
@CyQuer hello, did you find a solution to this issue ? I'm facing the same "problem" 😦
17 replies
FFilament
Created by Ashk on 9/25/2024 in #❓┊help
Navigation group translated label and sort
Now that I have the solution in front of me it seems so obvious.... Thank you so much!!!
6 replies
FFilament
Created by Ashk on 9/12/2024 in #❓┊help
Infolist and action group
Thank you a lot for your sharing !
22 replies
FFilament
Created by Ashk on 9/12/2024 in #❓┊help
Infolist and action group
I'm checking that
22 replies
FFilament
Created by Ashk on 9/12/2024 in #❓┊help
Infolist and action group
WOOOW I didn't know this feature
22 replies
FFilament
Created by Ashk on 9/12/2024 in #❓┊help
Infolist and action group
Yeees I tried it's working well, we just lose the "sugar syntax" but I can achieve what I want :p I investigate a bit the code to try to create a PR, but it's really complicated 😮
22 replies
FFilament
Created by Ashk on 9/12/2024 in #❓┊help
Infolist and action group
I tried, but nothing happen on click
22 replies
FFilament
Created by Ashk on 9/12/2024 in #❓┊help
Infolist and action group
Hmm normally action method is a backend callable and not something use to render thing (I believe)
22 replies
FFilament
Created by Ashk on 9/12/2024 in #❓┊help
Infolist and action group
I'll try to do something custom but I've the feeling to reinvent the wheel 😦
22 replies
FFilament
Created by Ashk on 9/12/2024 in #❓┊help
Infolist and action group
In fact, I'm not even sure it's possible in a Form context too 😮
22 replies
FFilament
Created by Ashk on 9/12/2024 in #❓┊help
Infolist and action group
No description
22 replies
FFilament
Created by Ashk on 9/12/2024 in #❓┊help
Infolist and action group
I didn't find a way to use ActionGroup in infolist schema, nor headerActions
22 replies
FFilament
Created by Ashk on 9/12/2024 in #❓┊help
Infolist and action group
There is type issue, Infolist always expect action inherit of Filament\Infolists\Components\Actions\Action 😦 or of Component belongs to Infolist
22 replies
FFilament
Created by galli.roberto on 12/4/2023 in #❓┊help
resource view modal with relation manager
https://filamentphp.com/docs/3.x/panels/resources/getting-started#simple-modal-resources "Additionally, your simple resource will have no getRelations() method, as relation managers are only displayed on the Edit and View pages, which are not present in simple resources. Everything else is the same."
4 replies
FFilament
Created by galli.roberto on 12/4/2023 in #❓┊help
resource view modal with relation manager
Hello, same question for me 😦 Maybe is it possible to render manually a relation manager directly in the modal ?
4 replies
FFilament
Created by Ashk on 7/30/2024 in #❓┊help
Accessing a form component from another
But instead adding shit in state, I would prefer to directly interact with the component...
24 replies
FFilament
Created by Ashk on 7/30/2024 in #❓┊help
Accessing a form component from another
@skashizadeh it's a bit ugly but it's working
->afterStateUpdated(function (Forms\Set $set, Forms\Components\Select $component) {
$set('titlePlaceholder', $component->getSelectedRecord()?->title);
})
->afterStateUpdated(function (Forms\Set $set, Forms\Components\Select $component) {
$set('titlePlaceholder', $component->getSelectedRecord()?->title);
})
24 replies
FFilament
Created by Ashk on 7/30/2024 in #❓┊help
Accessing a form component from another
$component->getLivewire()->getForm('form')->getComponent('type_event_id') return the select component, but getSelectedRecord always return null
24 replies
FFilament
Created by Ashk on 7/30/2024 in #❓┊help
Accessing a form component from another
This not working too 😦
24 replies
FFilament
Created by Ashk on 7/30/2024 in #❓┊help
Accessing a form component from another
Forms\Components\TextInput::make('title')
->label(__('labels.title'))
->placeholder(function (Forms\Components\TextInput $component) {
$title = $component
->getLivewire()
->getForm('form')
->getComponent('type_event_id')
->getSelectedRecord()
?->title;

$component->placeholder($title);
})
->live(),
Forms\Components\TextInput::make('title')
->label(__('labels.title'))
->placeholder(function (Forms\Components\TextInput $component) {
$title = $component
->getLivewire()
->getForm('form')
->getComponent('type_event_id')
->getSelectedRecord()
?->title;

$component->placeholder($title);
})
->live(),
24 replies