F
Filamentβ€’2mo ago
shopeebot

Auto select parent as foreign key on relation manager

How do I auto select parent when creating a record on relation manager? Is it has to be done with "Customizing data before saving" thing?
Solution:
OK for some reason filament now does it automatically? huh? Last time I use filament it throw "relationship_column doesnt have default value"
Jump to solution
3 Replies
Solution
shopeebot
shopeebotβ€’2mo ago
OK for some reason filament now does it automatically? huh? Last time I use filament it throw "relationship_column doesnt have default value"
Dennis Koch
Dennis Kochβ€’2mo ago
It should have been always this way πŸ˜…
shopeebot
shopeebotβ€’2mo ago
I spent half of my time configuring "mutate data before saving" last time. I don't know what I did wrong back then πŸ₯²