morty
morty
FFilament
Created by morty on 4/29/2024 in #❓┊help
Struggling on the simplest thing :( - How do I make a table row clickable to a modal view page?
Yes, thank you.
8 replies
FFilament
Created by morty on 4/29/2024 in #❓┊help
Struggling on the simplest thing :( - How do I make a table row clickable to a modal view page?
Ah ha, got it. Had to do this: ->recordUrl(null)
8 replies
FFilament
Created by morty on 4/29/2024 in #❓┊help
Struggling on the simplest thing :( - How do I make a table row clickable to a modal view page?
tried that, also tried using ->recordUrl(fn() => AccountNoteResource::getUrl('view')) but that doesn't work either. It still navigates to the edit page.
8 replies
FFilament
Created by morty on 3/13/2024 in #❓┊help
Can I customize css in `app.css` or am I required to create a custom theme?
It's in the theme.css file. You have to create a custom theme to modify styles: https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme
8 replies
FFilament
Created by Jon Mason on 4/17/2024 in #❓┊help
Sum of items selected on table?
or even just a notification or something
4 replies
FFilament
Created by Jon Mason on 4/17/2024 in #❓┊help
Sum of items selected on table?
You could create a bulk action that displays a modal with the sum perhaps?
4 replies
FFilament
Created by Jo on 4/16/2024 in #❓┊help
Learning Livewire to make custom components in Filament
Official docs are definitely the best. I purchased the screencasts and they're great as well. Third recommendation would be Laracasts: https://laracasts.com/topics/laravel-livewire
5 replies
FFilament
Created by morty on 4/16/2024 in #❓┊help
Regression in v3.2.67 - `foreach() argument must be of type array|object, null given`
5 replies
FFilament
Created by morty on 4/16/2024 in #❓┊help
Regression in v3.2.67 - `foreach() argument must be of type array|object, null given`
5 replies
FFilament
Created by morty on 4/16/2024 in #❓┊help
Regression in v3.2.67 - `foreach() argument must be of type array|object, null given`
Downgrading to v3.2.66 works fine.
5 replies
FFilament
Created by morty on 4/16/2024 in #❓┊help
Can I align header actions with the heading and not the entire heading + subheading?
I've modified my theme.css file with this. Will this affect anything else?
.fi-header {
@apply sm:!items-start;
}
.fi-header {
@apply sm:!items-start;
}
3 replies
FFilament
Created by urbycoz on 4/16/2024 in #❓┊help
How can I show styled text if a cell is empty?
Alternatively, I do this with a macro:
Tables\Columns\TextColumn::macro('placeholderDash', function () {
return $this->placeholder(fn (): HtmlString => new HtmlString('—'));
});
Tables\Columns\TextColumn::macro('placeholderDash', function () {
return $this->placeholder(fn (): HtmlString => new HtmlString('—'));
});
5 replies
FFilament
Created by Yurikaso on 4/16/2024 in #❓┊help
Is it possible to use the filament control panel for this?
or can a user be both an admin and an employee?
9 replies
FFilament
Created by Yurikaso on 4/16/2024 in #❓┊help
Is it possible to use the filament control panel for this?
Do you plan to have a unified login form or a different login form for each employee type?
9 replies
FFilament
Created by Yurikaso on 4/16/2024 in #❓┊help
Is it possible to use the filament control panel for this?
If I'm understanding the question, you can simply do this with multiple panels.
9 replies
FFilament
Created by morty on 4/16/2024 in #❓┊help
Can I align header actions with the heading and not the entire heading + subheading?
No description
3 replies
FFilament
Created by morty on 4/10/2024 in #❓┊help
Layout question - Can I put a form beside a table horizontally?
I was trying to avoid that. Was hoping there was a simple built-in way. No worries, thank you!
6 replies
FFilament
Created by emil on 3/20/2024 in #❓┊help
Just bought Filament's Minimal Theme - with the hopes it would be "stable" for current Filament.
I'm having the same issue. Did you get this resolved?
7 replies
FFilament
Created by morty on 3/27/2024 in #❓┊help
Is it possible to get the current record when using sub-navigation for the badge?
For example, if I did:
return AccountContact::count();
return AccountContact::count();
This will give me the count of all contacts. I want just the contacts count for this specific account.
2 replies
FFilament
Created by morty on 3/21/2024 in #❓┊help
How can I refresh the options on a table filter after an action?
BadMethodCallException PHP 8.2.16 10.48.4 Method Filament\Tables\Filters\SelectFilter::live does not exist.
17 replies