How to make form items flow to top?

Hi team Retool

How can I build a form where all items are in a "flow layout", i.e. like in HTML?

My goal is to have some conditionally hidden elements that will not leave an empty hole in the form when they are missing. Seems the option "Maintain space when hidden" was made for this, but I can't get it work.

Thanks!

PS: Screenshot of what I'm trying to achieve…

@gabriel Can you post a screenshot or two of what you're trying to accomplish - Maintain space when hidden should be off by Default and you would not wan't that on so that components will move up if the one above it is hidden.

1 Like

Hi Scott,
I added the image to the top post.
Thanks!

Is the modal set to be fixed or Hug contents?
Screen Shot 2022-09-26 at 12.03.39 PM

It's set to hug contents.
I also checked that things are working as expected with plain fields, just the container would not float to top.

OK, within the modal you have that main form where the title is Add Card Product...is that form Height set to auto or fixed?

Screen Shot 2022-09-26 at 12.30.55 PM

It was set to Auto and it was working with plain fields. As I was in a hurry, I just removed the container and used directly the fields.