Renaming Components Inside Container Causes Reorder

  • Goal: I want to rename a component's name after positioning it in a container (stack).

  • Steps: create a (stacked) container, add several components (e.g. input fields) and now rename some of them. They renamed components suddenly appear at the end of the container.

  • Details: this could lead to very bad outcomes when you're dealing with fields that don't have a label, for example. I was trying to create a tabular layout, placing fields next to one another, but this issue caused this strategy to fall apart.

  • Screenshots: none.

  • App json export: none.

I think this should be quite easy to replicate.

1 Like

Remarkably, when you first add several fields and turn those into a group, the issue doesn't seem to be there.

Hey @emozio! Thanks for flagging this.

In testing, I'm not actually seeing the same behavior. :thinking: There is some initial weirdness when adding components to the stack, though. Past a certain point, all new components are inserted between the first two. And in reverse order.

Can you double check that this is still a consistently reproducible error for you? And maybe send over a JSON export of your app?

I will try to reproduce the issue when I have the opportunity. I was actually expecting this issue to be as straight-forward, I wouldn't need to provide any further details. However, given your response it turns out it's trickier than I realized.

Will share some additional feedback when I get the chance.

1 Like