Reloading frames in page upon form submission

I have a form with a single select dropdown which is automatically submitted via stimulus on change.

The rails view for this page is dependent on the values this object has, e.g. if a value is set show a link, otherwise show a select dropdown to set a value.

I would like this page to update automatically on form submit, so once I select an item in the select dropdown a link appears instead of the select dropdown.

This currently works but is not realtime in the sense that you have to manually refresh the page.

I would like to be able to reload the frame from which the form was submitted, as I believe this would result in desired behaviour.