Hey there @Etienne, great question!
You are definitely on the right track with the use of the hidden property. I would recommend having one select component, then have the value of that component controlling two separate forms.
You can align the forms to be on the same spot on your canvas, which will help alleviate blank space concerns. Then, you can set hidden properties so that the forms are never showing at the same time. The hidden properties can look something like select1.value !== "A"
and select1.value !== "B"
I've attached a screen recording to show you this recommendation in action:
Screen Recording 2021-11-29 at 4.44.58 PM.mov