Any option to re arrange components if some others are hidden?

Hi i got some conditionals in my app:

  1. if client = VIP, will show some fields
  2. if client = NORMAL then some fields will be hidden, any chance to re arrange components so i dont have empty spaces?

like this image attached its a client NORMAL i highlighted in red the empty spaces, any alternative?

Hi @agaitan026, I would recommend using the container component for this! Within a container, if any of the child components are hidden, any subsequent components will move up to fill in the space left by the hidden component. If you need additional control over the placement of the child components, you can even enable multiple views of the container based on a conditional.


Container works great for moving them up vertically, but a sort of left-alignment would also be great.

1 Like

Yes but the thing with container im getting too much load on my app