SmurfWorks
SmurfWorks
FFilament
Created by SmurfWorks on 1/1/2024 in #❓┊help
Hydrating a form field from an appended attribute
Hey all, I'm trying to integrate an appended attribute (computed field) from a plugin into my filament panel's resource form as a form field value, however it doesn't seem that Filament hydrates fields from appended attributes. I have roughly 20 attributes that I may need to do this with. Just wondering if anyone has any experience with this, or if it should be working by default? It seems that the field hydration only works for database-retrieved attributes. I can do it manually by overriding the state in "afterStateHydrated" but thought there might be a more eloquent way.
1 replies
FFilament
Created by SmurfWorks on 10/15/2023 in #❓┊help
Using scripts in action modal content
No description
8 replies