IgorKrivtsov
IgorKrivtsov
FFilament
Created by IgorKrivtsov on 4/18/2024 in #❓┊help
Resource $recordTitleAttribute from relation
Hi, everyone! How can I set $recordTitleAttribute from relation: Let's say, a WarehouseItem has many Products, and I can set $recordTitleAttribute = 'product_id', but I can't set it to 'product.name' or 'product.sku', for example. When I set protected static ?string $recordTitleAttribute = 'product' it returns all product content in json format .
3 replies