Skip to main content

Search and Top Navigation

#15399 new bug ()

Opened April 12, 2021 11:38PM UTC

Last modified April 13, 2021 07:15PM UTC

drag/drop elements in jsonform produce weird results

Reported by: sdetweil Owned by:
Priority: minor Milestone: none
Component: ui.droppable Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:
Description

using a custom element in jsonform, the 1st drag drop

produces weird results

when the item is a string

after the 1st drag/drop to reorganize items

[[Image(https://www.dropbox.com/s/8115kswtyk4bxbv/Screenshot%20at%202021-04-12%2009-33-43.png?dl=0)]]

if I use my custom object type

after the same 1st darg/drop

[[Image(https://www.dropbox.com/s/nt2bdcovi0tupmf/Screenshot%20at%202021-04-12%2009-33-06.png?dl=0)]]

see jsonform ticket

https://github.com/jsonform/jsonform/issues/328

which has the source

Attachments (0)
Change History (2)

Changed April 12, 2021 11:40PM UTC by sdetweil comment:1

description: using a custom element in jsonform, the 1st drag drop \ produces weird results \ \ when the item is a string \ after the 1st drag/drop to reorganize items \ [[Image(https://www.dropbox.com/s/8115kswtyk4bxbv/Screenshot%20at%202021-04-12%2009-33-43.png?dl=0)]] \ if I use my custom object type \ after the same 1st darg/drop \ [[Image(https://www.dropbox.com/s/nt2bdcovi0tupmf/Screenshot%20at%202021-04-12%2009-33-06.png?dl=0)]] \ using a custom element in jsonform, the 1st drag drop \ produces weird results \ \ when the item is a string \ after the 1st drag/drop to reorganize items \ [[Image(https://www.dropbox.com/s/8115kswtyk4bxbv/Screenshot%20at%202021-04-12%2009-33-43.png?dl=0)]] \ if I use my custom object type \ after the same 1st darg/drop \ [[Image(https://www.dropbox.com/s/nt2bdcovi0tupmf/Screenshot%20at%202021-04-12%2009-33-06.png?dl=0)]] \ \ see jsonform ticket \ https://github.com/jsonform/jsonform/issues/328 \ which has the source \ \

Changed April 13, 2021 07:15PM UTC by sdetweil comment:2

closed, user error in jsonform

the custom item view returned the wrong anchor element