marianov24
Explore posts from serversSelect using getSearchResultsUsing with preload
Hi i follow this Tricks :
I try use getSearchResultsUsing and getOptionLabelUsing. I want use preload too, but it's not working.
If i use options and getOptionlabelUsing, preload works but searchable not. (when i use this, i comment ->where)
3 replies
TLCTuto's Laravel Corner
•Created by marianov24 on 12/20/2023 in #💡filament
Clean filters
I create custom pages to show 2 or 3 widgets, all has
I need when navigate and comeback to the pages, the filters set null. I try: mount $this->filters = null; on custom page, not working mount $this->filters = null; on widget and got an error cannot mutate filters. How can i solve this?
I need when navigate and comeback to the pages, the filters set null. I try: mount $this->filters = null; on custom page, not working mount $this->filters = null; on widget and got an error cannot mutate filters. How can i solve this?
4 replies
List From a Model - Form and Save from another Model with Relationship
I have a table with Products (I have all the basic info) and another table ExtraFieldProduct (extra fields for the products).
What I would need is to list the products in the table, but when I click on a record send the id to the ExtraFieldProduct Form, set the id to product_id and then fill in the form to create or edit.
Thanks!!!
6 replies
Form keep loading
I have one Form that's keep loading... finish with timeout.
This form is only to view information, so is a view.
I remove, all the RelationManager and on the form make simple a Select:
the others fields are from the model.
I use MySQL and the table has 159736 records.
I have another thable with more records and don't have any problem.
How can i debug this?
10 replies
Relation Manager Resource with pivot - Custom Attach
Hi guys, i create a Relation Manager Resource with pivot. Information:
-> Invoice -> it's the Main Resource
-> Performance -> it's the Relation Manager Resource
-> they have Many to Many relationship.
-> it's work, but i need make a change.
* I have Product table that has Many Performance, So i need on the popup show a Select for Products, when products Select filter the Performance :
The form works but when a click on Attach i got an error:
I imagine that to solve this I should use:
But I do not know how to do it
9 replies