Albert Lens
Default repeater items not working
It works, though it fills only emails but leaves blank subject and contents (which had a default value)
Anyway, I have put all default values in fillForm like this:
Thank you very much for your help, mate.
4 replies
Redirect::route with long parameters works locally but not on server
I have considerably reduced the size of the url and now it works, though I think this is not the right approach.
Anyhow, I still think this is not the right approach because when user has thousands of records filtered, I do not know whether the url size will work on production server.
Please any ideas of the right approach to pass FILTERED table data to CONTROLLER ?
Tks.
2 replies
->RenderHook() problem in AdminPanelProvider.php | Class "Filament\View\PanelsRenderHook" not found
Tks but of course I have imported the class:
And it is still not working as I mentioned. The most relevant for me, I think, is the fact that this file is missing:
vendor\filament\filament\src\View\PanelsRenderHook.php
which in my previous application two months ago was there and everything worked fine. I could manually copy that file from my previous project for another client but I think this is not a good solution.
Thank you
10 replies
Mail problem rendering view with data with two arrays
I solved it!!!
Looking at the official info from Laravel:
https://laravel.com/docs/11.x/mail#configuring-the-view
I don't have to pass the data in the ->content(...)
It has to be added to the content function itself:
The with: is the solution to add extra data apart from the Expediente resource data.
3 replies
Row action confirmation message is blank
Thank you.
When using ->hiddenLabel('some text label') it shows the message, but not the some text label in hiddenLabel. It shows the text inside the make.
Now I can achieve what I wanted. Thank you.
6 replies
Missing New panel resources - links don't appear on sidebar - 404-Not found
Thanks mate!!!
It is a fantastic solutions just in case it happens to me again. This time I started over my project from scratch again, but this could have saved me a lot of tiem.
Thanks and I'll take this into account in future.
17 replies
How can I automatically launch a function when user enters a Resource list page?
Yes, I know it is a "horrible" provisional solution till I can find when the error happens. It has to be launched through serveral observers but not all of them are launching the function correctly and I have to investigate a bit more to find the error.
Thanks for your approach.
I put the function inside the table function (which is always called when you go to the listMyResource) and it is working fine:
Thanks for your help.
3 replies
Tailwind help please
Thank you.
So, I understand that anytime I want to use Tailwind classes different from the ones initially packed with Filament, I have to create a Custom Theme, even though it is just for a bunch o classes.
Is that it?
6 replies
Set Table Actions Position in v2
It's in the Official Docs
https://filamentphp.com/docs/3.x/tables/actions/
28 replies
How to validate repeater items certain conditions before create - Attributes IN repeater items
Yes, tks, but I haven't found a validation rule that allows => equal to 1 or equal to another field's value, for example.
Or even validation where => this fieldA must be X if model.relationship.fieldB is less than model.relationship.fieldC
Maybe it is there in the Official docs, but I have not been able to find anything similar. Any help on this would be highly appreciated.
4 replies