lowcoder icon indicating copy to clipboard operation
lowcoder copied to clipboard

[Bug]: JSON Editor component resets its contents, moves cursor to beginning

Open phil-pdx opened this issue 1 year ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

See below video. Clicking anywhere in the component to edit JSON results in the cursor returning to start. Making an edit will result in the edit being cleared.

https://github.com/user-attachments/assets/2f7c4852-db2b-4081-a7a3-da11ba3fde1e

Expected Behavior

JSON should be editable

Steps to reproduce

Place a JSON Editor component, default JSON is fine. Click in the component to edit the JSON.

Environment

Tested on 2.4.6, 2.4.7 and cloud. Edge, Chrome, Firefox (all latest). This bug doesn't happen in an older project that's still on 2.4.0

Additional Information

No response

phil-pdx avatar Oct 03 '24 20:10 phil-pdx