sotjj
sotjj
FFilament
Created by Scott on 7/28/2023 in #❓┊help
Setting section background color
Thank you, again. That will work for me.
9 replies
FFilament
Created by Scott on 7/28/2023 in #❓┊help
Setting section background color
Thanks! For my situation, this might work. I will try it out and report back.
9 replies
FFilament
Created by Scott on 7/28/2023 in #❓┊help
Setting section background color
Is there a way to have the background color only apply to the Section heading and not the fields?
9 replies
FFilament
Created by sotjj on 9/18/2023 in #❓┊help
Artisan commands will not run after adding in a PanelProvider
So, it turns out that there are just issues in various resources, widgets, and pages that are causing these methods to fail.
I commented out the discover methods and I am going through the process of loading them one-by-one to see which ones are causing problems. So far, the issue in most of my resources was the following: protected function getDefaultTableRecordsPerPageSelectOption(): int { return 20; } When loading this manually, I received a detailed error message instead of the earlier 500 error: getDefaultTableRecordsPerPageSelectOption() must be public (as in class Filament\Resources\Pages\ListRecords) Setting this to public allowed the resource to load. So, now I am just going through and loading resources, pages and widgets manually (without the discover method) to solve the issues for each one.
3 replies
FFilament
Created by sotjj on 9/18/2023 in #❓┊help
Artisan commands will not run after adding in a PanelProvider
I think I have narrowed it down to the discoverResources, discoverPages, and discoverWidgets methods. I am guessing there is a problem with my path after the upgrade (update: not a path issue, see below for updates). I will post the solution if I figure it out.
3 replies
FFilament
Created by sotjj on 5/25/2023 in #❓┊help
Access filters in action
rather than trying to get the filters from a table, I just made a form instead. Probably cleaner, anyway.
9 replies
FFilament
Created by sotjj on 5/25/2023 in #❓┊help
Access filters in action
Thanks for the help, all. I ended up going a different direction for now. I need to do some more work on my livewire knowledge base, in general. 🤪
9 replies
FFilament
Created by sotjj on 5/25/2023 in #❓┊help
Access filters in action
Great, thank you. Trying now.
9 replies
FFilament
Created by sotjj on 5/25/2023 in #❓┊help
Access filters in action
Although this works within the livewire component, the problem I am having is accessing this from a page action. In other words, $this->tableFilters works within the getTableActions() within the livewire component.
However, on my filament custom page, using getActions() to make a button at the top of the page, how can I get this value from the livewire component? Will I need to emit an event or is there something built into filament so I can get to this?
9 replies
FFilament
Created by sotjj on 5/25/2023 in #❓┊help
Access filters in action
Thank you. I’ll try it in a little bit. I think I tried something similar, but I might have just had the wrong property because I think I had $this->filters.
9 replies
FFilament
Created by fede8100 on 4/6/2023 in #❓┊help
I think lte validator is not working
I am having the same issue and receiving this error when using ->lte validation: The amount field must be less than or equal to data.9999.99. I handled this with a regex validation instead: ->regex('/^-?[0-9]{1,4}(?:.[0-9]{1,2})?$/'), This allows for positive and negative numbers and only up to two decimal places with a range of -9999.99 to 9999.99
5 replies