Hi All!
I just wrapped up the Mission - Relations Master 3 “Set Object Relations with API” and have a question which I feel should be easy but can’t figure it out.
How can I set the object relations value without requiring user input?
Specifically, I am creating a polling app where users can submit a poll question. I have a Poll table with a column Status with a 1:1 relation to the Status table. My goal is to set a default value of ‘pending’ for all new poll questions that are submitted.
I replicated the flow from the video in which there is a Selection for the user to choose the Status, which works in saving the relation to the tables, but ideally the default of ‘pending’ without user input.
After loading the objects from the Status table, I am struggling with how to set the value of ‘Pending’ to the property that is returned in setting the object relations.
Appreciate your help!
