Wizard Steps, Create Record doesn't save Relationship

Hi guys, currently trying the Wizards steps for my a bit more complex creation process. When I try to save it though, I get an error showing me that the foreignkey doesnt get inserted into the db. So Somehow the relationship is not saved I guess. Is there a function I can hook into to set the conference_series_id (foreignkey) value manually so it will be inserted too? Screens:
Solution:
Solution:
Select::make('conference_series_id')
Select::make('conference_series_id')
Jump to solution
3 Replies
BuggerSee
BuggerSeeOP16mo ago
ID (foreignkey) is correctly saved in the $state variable
BuggerSee
BuggerSeeOP16mo ago
Solved it myself, I debugged for 30 mins just because of this simple error.🤦‍♂️ I'm gonna leave this Thread, maybe somebody else finds help in it.
Solution
BuggerSee
BuggerSee16mo ago
Solution:
Select::make('conference_series_id')
Select::make('conference_series_id')
Want results from more Discord servers?
Add your server