Matthew
Matthew
FFilament
Created by Matthew on 12/20/2024 in #❓┊help
Animate Notification Badge \ icon
Shall look into, thanks.
5 replies
FFilament
Created by Hitesh Makwana on 12/20/2024 in #❓┊help
Help me to select address from address list in modal
Probably, unfortunately difficult to tell without your all your code.
7 replies
FFilament
Created by Matthew on 12/20/2024 in #❓┊help
Animate Notification Badge \ icon
Can't be the only person that has thought about this?
5 replies
FFilament
Created by Hitesh Makwana on 12/20/2024 in #❓┊help
Help me to select address from address list in modal
There is a complexity in having the list of addresses in a modal. Easier to have them in a select dropdown, which can be searchable. Then using https://filamentphp.com/docs/3.x/forms/advanced#field-updates ($get and $set), you can populate your address element from the selected drop down.
7 replies
FFilament
Created by Hitesh Makwana on 12/20/2024 in #❓┊help
Help me to select address from address list in modal
7 replies
FFilament
Created by lamberttraccard on 9/15/2023 in #❓┊help
Limit max selected records on bulk table
It's a bit difficult, without knowing the parameters of your project. But all these tools, be it Filament, Vue, React etc, are tools. They aren't magic wands, or catch all solutions. You seem to be suggesting that anything over 100 records is an issue..is that the bulk action , or just the rendering? If it is the rendering, then you're trying to do something too complex, and you need to re-visit your data structure. What is slowing you down is likely to be back end. All frameworks are guilty of treating the database engine like a magic black box, but it's not, and if you are causing all sorts of table scans and complex joins, then it will suffer. Have you profiled the sql queries? I would be looking at how common these bulk updates are. If they are very regular, then maybe a design revisit is needed. If they are occasional, then I might be tempted to build a more custom resource that only pulls back the data needed for update purposes, and I'd also have a handler controlling the update, so I could specify the updated fields, and possibly convert to bulk update queries.
29 replies
FFilament
Created by lamberttraccard on 9/15/2023 in #❓┊help
Limit max selected records on bulk table
Do you wan to view more than 100 records, or bulk update more than 100 records ?
29 replies
FFilament
Created by lamberttraccard on 9/15/2023 in #❓┊help
Limit max selected records on bulk table
29 replies
FFilament
Created by lamberttraccard on 9/15/2023 in #❓┊help
Limit max selected records on bulk table
Remove the select\deselect all. Limit your pagination. That's done. Alternatively, use a proper handler and reject too many records at once with a notification.
29 replies
FFilament
Created by lamberttraccard on 9/15/2023 in #❓┊help
Limit max selected records on bulk table
Paginate ?
29 replies
FFilament
Created by Leslie on 12/18/2024 in #❓┊help
How to show a Badge on Edit Form
No description
4 replies
FFilament
Created by Sumonil on 12/18/2024 in #❓┊help
Edit resource button icon
->icon('heroicon-o-plus-circle')
6 replies
FFilament
Created by Jerome V on 12/6/2024 in #❓┊help
Is this possible in dashboard? instead using Date picker I will use tab?
Why don't you try it and tell us?
3 replies
FFilament
Created by Matthew on 9/7/2024 in #❓┊help
Badge size chainable infolist
Had to go back and check, but yes, although you need a custom theme: Add a class to your css, something like:
.f-large-badge {
.fi-badge {
@apply text-xl;
}
.fi-badge-icon {
@apply h-6 w-6;
}
}
.f-large-badge {
.fi-badge {
@apply text-xl;
}
.fi-badge-icon {
@apply h-6 w-6;
}
}
then add ->extraAttributes(['class' => 'f-large-badge']) method to your element. My naming conventions may be confusing. 'fi-' are the filament native classes you can hook into. 'f-' is just our way of determining custom classes designated for fi components. You can call that bit whatever you want.
8 replies
FFilament
Created by Matthew on 11/29/2024 in #❓┊help
Relation Info on same page as Resource
That is a nice way of providing more information...but...I'm looking at instances of related records, particulary those with a potential hasMany ?
6 replies
FFilament
Created by Matilda on 11/26/2024 in #❓┊help
Table Action labels on small displays
You can try the stack method, as that places the actions below the rows, but it also loses the column heading, so unless your column data is very obvious, it can make it confusing. Unless anyone has a method of getting the column heading info into the stack?
4 replies
FFilament
Created by toeknee on 7/12/2024 in #❓┊help
Form to PDF
@toeknee Thanks for supplying this. It is similar to what I am doing, but I have an issue with the extensive CSS from filament and the other locations not being available. Other than creating the css and making them statically available (not keen), have you found a way around that ? @SoraKeyheart , does Typeset.sh go anyway to solve the CSS issue?
10 replies
FFilament
Created by toeknee on 7/12/2024 in #❓┊help
Form to PDF
Ahh..ok. Is that easily done, can you point me somewhere ?
10 replies
FFilament
Created by toeknee on 7/12/2024 in #❓┊help
Form to PDF
Hi @toeknee Did you progress with this? Looking for a solution to convert a completed form/page, into a stored PDF.
10 replies
FFilament
Created by Trauma Zombie on 11/5/2024 in #❓┊help
How to validate Select relation field?
hmmm...would have thought the ->relationship handled the re-build without an additional afterstate...nevermind though.
7 replies