Bizarre behavior when trying to order form fields #1056
Labels
pending-response
An issue is pending response from the issue requestor
pending-triage
An issue that is pending triage
studio-ui
An issue that needs to be tracked by Studio Console team
ui-forms
issues related to UI builder forms
Before opening, please confirm:
App Id
d4pgl48u3ld6z
Region
us-east-1
Environment name
staging
Figma File Version (if applicable)
No response
Amplify CLI Version
12.4.0
If applicable, what version of Node.js are you using?
No response
What operating system are you using?
MacOS
Browser type?
Firefox
Describe the bug
When trying to order the form fields by dragging and dropping in Amplify Studio, the dropped field does not go where it is expected, usually going to the last position and also other fields get reordered. This bizarre behavior happens on other forms as well, including the ones generated by Amplify.
I have recorded a video that shows what is happening.
In the video, after successfully ordering a field 2 times, I try to bring a field called
E-mail
from last to third position. After releasing the field in the third position of the form, he field goes to the last position and other fields from the third position onwards get reordered. When I try to do the same action again, the field goes back to the last position and fields below the third position get reordered again. This happens when trying to reorder other fields as well.Expected behavior
Dragging and dropping allows to order the form fields
Reproduction steps
This only happens with forms linked to data models. If I try to create a new form linked to a model, the problem appears. Blank form with no connections to a model behave normally.
Project Identifier
4e32d3028e3459ac55e8cf83492b741b
Additional information
No response
The text was updated successfully, but these errors were encountered: