Shiv
Shiv
FFilament
Created by Shiv on 2/4/2024 in #❓┊help
how to access current record in form function of Resource file
it doesnt have that feature you can either use select field or show 2 seperate fields using fieldinput
17 replies
FFilament
Created by Shiv on 2/4/2024 in #❓┊help
how to access current record in form function of Resource file
The orders have multiple products and those products belongs to a category I want to show all products with their category name in textinput [product 1 - category 1] [Product 2 - category 2]
17 replies
FFilament
Created by Shiv on 2/4/2024 in #❓┊help
how to access current record in form function of Resource file
Mmm i don't want that you have misunderstood me I want the current record not the model class For example i want the current order id not the order model class Something like
$orderId = static::getCurrentRecord()->id;
$orderId = static::getCurrentRecord()->id;
17 replies
FFilament
Created by Shiv on 2/4/2024 in #❓┊help
how to access current record in form function of Resource file
it just return the string
17 replies
FFilament
Created by Shiv on 2/4/2024 in #❓┊help
how to access current record in form function of Resource file
No description
17 replies
FFilament
Created by Shiv on 2/4/2024 in #❓┊help
how to access current record in form function of Resource file
i want the record
17 replies