sm
sm
FFilament
Created by syed_eer on 10/22/2023 in #❓┊help
Can I make getTab() in 2 lines?
I'm sure other people would appreciate it.
11 replies
FFilament
Created by syed_eer on 10/22/2023 in #❓┊help
Can I make getTab() in 2 lines?
or extend tabs to support multi level tabs.
11 replies
FFilament
Created by syed_eer on 10/22/2023 in #❓┊help
Can I make getTab() in 2 lines?
you can probably take a look at ListRecords and the blade and create your own with secondaryTabs
11 replies
FFilament
Created by syed_eer on 10/22/2023 in #❓┊help
Can I make getTab() in 2 lines?
AFAIK this isn't possible. I took a brief look into into a while back.
11 replies
FFilament
Created by ingmontoya on 10/18/2023 in #❓┊help
Do not send a TextInput value
7 replies
FFilament
Created by sm on 9/6/2023 in #❓┊help
Adding an action to a repeater.
Bump?
4 replies
FFilament
Created by sm on 9/6/2023 in #❓┊help
Adding an action to a repeater.
Also tried just switching to a grid.. but same question, how can we add an action to non-affix-actionable elements? Code:
return $form
->schema([
Grid::make(4)->schema(function ($record) {
$images = [];
foreach ($record->image_options as $option) {
$images[] = Group::make()->schema([
Placeholder::make('url')
->content(
new HtmlString("<img src=\"{$option['url']}\" style=\"width: 250px; height: auto;\">")
)->hiddenLabel(),

]);
}

return $images;
}),
]);
return $form
->schema([
Grid::make(4)->schema(function ($record) {
$images = [];
foreach ($record->image_options as $option) {
$images[] = Group::make()->schema([
Placeholder::make('url')
->content(
new HtmlString("<img src=\"{$option['url']}\" style=\"width: 250px; height: auto;\">")
)->hiddenLabel(),

]);
}

return $images;
}),
]);
4 replies
FFilament
Created by sm on 9/1/2023 in #❓┊help
TableWidget interactions with livewire events.
Turns out I just needed to read the livewire docs and understand how the rendering cycle works. table() and then render(). In order to achieve what I wanted, I just needed to pass a closure to the $query. hope this helps someone in the future!
5 replies
FFilament
Created by Daniel on 9/1/2023 in #❓┊help
Event when modal has benne opened?
7 replies
FFilament
Created by sm on 9/1/2023 in #❓┊help
TableWidget interactions with livewire events.
Oh, and I also tried using modifyQueryUsing in my updateFilters event.. but that isn't preserved either.
5 replies
FFilament
Created by sm on 9/1/2023 in #❓┊help
TableWidget interactions with livewire events.
I've also tried making $filtersState public, just to see if that fixed things.. but no luck :/
5 replies
FFilament
Created by sm on 8/28/2023 in #❓┊help
Forcing a TableWidget to refresh its builder query.
Well, that was actually really easy: just dispatch an event from the form and add a listener in the TableWidget.
3 replies
FFilament
Created by krizz3332 on 8/28/2023 in #❓┊help
table filters update event
10 replies
FFilament
Created by krizz3332 on 8/28/2023 in #❓┊help
table filters update event
I think you can just $dispatch() and use On
10 replies
FFilament
Created by krizz3332 on 8/28/2023 in #❓┊help
table filters update event
I'm actually working on a similar issue right now.
10 replies
FFilament
Created by sm on 8/28/2023 in #❓┊help
Add dehydrateStateUsing to Builder\Block
And if Block is basically a layout field, then atleast its consistent right now 🙂
10 replies
FFilament
Created by sm on 8/28/2023 in #❓┊help
Add dehydrateStateUsing to Builder\Block
I don't think dehydrateStateUsing works on Section, Group etc either (just tried)
10 replies
FFilament
Created by sm on 8/28/2023 in #❓┊help
Add dehydrateStateUsing to Builder\Block
Don't think it makes sense to have a special case for Block..
10 replies
FFilament
Created by sm on 8/28/2023 in #❓┊help
Add dehydrateStateUsing to Builder\Block
If PRd, I think this would have to apply to other "layout" components as well..
10 replies
FFilament
Created by sm on 8/28/2023 in #❓┊help
Add dehydrateStateUsing to Builder\Block
Was hoping I wouldn't have to do that, but so be it 🙂
10 replies