formengine icon indicating copy to clipboard operation
formengine copied to clipboard

Alignment Changes on Duplicated Label Affect the Original Label

Open tuthanhoancanh012 opened this issue 7 months ago • 2 comments

Steps to Reproduce:

  1. Create a container → inside it, add another container → then add Label 1.

  2. Duplicate the container that contains Label 1 to create a new container with Label 2.

  3. Select Label 2, go to Style → Alignment, and change the alignment to start, center, or end.

Expected Result: The alignment change should apply only to Label 2.

Actual Result: The alignment change is incorrectly applied to Label 1, and Label 2 remains unaffected.

Link: https://vimeo.com/1084129311/26a88cf5f5?share=copy

Please let me know how to fix it so I can handle it on my side. Is it possible for me to update the code to resolve it?

Thank you

tuthanhoancanh012 avatar May 14 '25 04:05 tuthanhoancanh012

Hi! Thank you for reporting the issue!

I can confirm the problem you've encountered. This will be addressed in upcoming releases.

As a temporary workaround:

  • Save the form
  • Reload the designer
  • Verify that all keys in the generated form schema are unique for adjacent items
  • Fix them manually

Image

Image

cherepanov avatar May 16 '25 08:05 cherepanov

@cherepanov Thank for your response. I will try on it.

tuthanhoancanh012 avatar May 21 '25 05:05 tuthanhoancanh012

Hi @tuthanhoancanh012,

This issue has already been resolved in the 4.1.0 release. https://formengine.io/documentation/release-notes#410 .

ashalugin avatar Aug 29 '25 08:08 ashalugin