Alex Rowe
Alex Rowe
FFilament
Created by Alex Rowe on 8/22/2023 in #❓┊help
Remove rounding from dashboard widgets?
Hey, I've been trying to override the rounding on the dashboard widgets. I can see this is coming in from the card component ('space-y-2 rounded-xl bg-white p-2 shadow') but was wondering if there is a protected parameter on the widget class I could set rather than overriding all the views. Any advice would be appreciated 🙂
11 replies
FFilament
Created by Alex Rowe on 6/15/2023 in #❓┊help
Select in repeater - Slow loads when select relation has large record amount
Hey there, I'm using a repeater to fill out a many to many, however using the standard ->options(Entity::query()->pluck('name','id')) in the select slows the page down on load as there are 80k records in the entities table. The select didn't like having ->relationship('entity') on it as it was throwing an error of trying to get the property enitity on the entity model itself. Is there a way of having this be lazy whilst also working on an edit?
5 replies
FFilament
Created by Alex Rowe on 5/24/2023 in #❓┊help
Multiselect allow duplicates
Hey there, I have a select setup as a relationship and multiselect, but I want to allow the same relation to be made more than once. As an example of the use case, An order can have many products but also have more than one of the same product. Is there any way to allow this? Also, as a tangential, is there any way of adding pivot values to the entries in the multi select? Thanks!
4 replies