full-greenF
Refine3y ago
9 replies
full-green

Populate selectfield from another form's result

Hey guys, been using v4 for a while now and it's great so far. I have a question in something I want to implent in a form and I'll do my best to explain it.

I have resource1 and resource2, and in the create form for resource1 there is a selectfield to select resource 2. Next to the selectfield is a create button that opens a modal to create a record for resource2, and when that create form is submitted I want to automatically populate the selectfield with the record that is just created.

Would appreciate any help on how to best implement this
Was this page helpful?