awsqed
Single/double quote is encoded when using extraAttributes
I'm following the doc: https://filamentphp.com/docs/3.x/widgets/stats-overview#adding-extra-html-attributes-to-a-stat
But it results in quote is being encode instead of what I expect.
Code
Expectation
Actual
6 replies
table select filter get all records instead of limiting it to relationship
I have a Customer model, which has many Album models, then the Album model belongs to a Stylist model. I make an table widget to display all the albums of that customer, and I create a select filter to filter albums based on the stylist name.
Here is the table query:
Here is the filter:
Them problem is, instead of only get stylists relating to albums of that customer, it returns all stylists. I check debugbar and this is the query the filfer is using:
2 replies
Register new chart type
How to register new chart type from the community? I installed the new chart type package and tried to register it like this but still got the error.
I think because I register to the wrong one, not the chart object Filament is using to render chart, but I don't know how to get the right one.
8 replies