pabbec
pabbec
FFilament
Created by pabbec on 10/17/2024 in #❓┊help
I have an excess of queries in my Filament Table.
I found the problem 🤦‍♂️: I'm using:
$record->variants()->first()->price_value
$record->variants()->first()->price_value
instead of
$record->variants->first()->price_value
$record->variants->first()->price_value
In the first case, I'm getting a new instance of Query Builder for each row... In the second case, I'm access to property variants with the related records loaded previously.
6 replies
FFilament
Created by Pulpsting0610 on 12/26/2023 in #❓┊help
Halt process in TextInputColumn beforeStateUpdate callback
same problem, but with Select column, do you resolve this?
6 replies