Inside a BricksForge Update Post Pro Form, I have a repeater with 2 fields, the first is just a simple number field, the second is a relationship field. The relationship field in the Create Post form is a Select form element with a query loop for the related records, and I wanted to look
the same on the Update Post form.
I get the related fields showing up in the select, but how do I show the actual selected item in the select list?
If I haven’t made myself clear, the first image is what is shown on the frontend of the Update Post form, and the second is the backend view of the field in the CPT
It sounds like the query loop is working since the related records are appearing in the select. The missing part is probably the field’s initial value.
For an Update Post form, the select needs to receive the existing relationship value from the current repeater item, not just the list of available posts. I’d check whether the Relationship field supports setting its default/current value dynamically inside a repeater. If it does, the value should be the related post ID rather than the post title.