Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag and Drop #110

Open
syedtalha opened this issue Nov 30, 2017 · 4 comments
Open

Drag and Drop #110

syedtalha opened this issue Nov 30, 2017 · 4 comments

Comments

@syedtalha
Copy link

Feature request: Is it possible to make drag and drop possible in array items?

@stutteringp0et
Copy link

Are you asking for drag-and-drop re-ordering?

@syedtalha
Copy link
Author

syedtalha commented Dec 1, 2017

Yes.

I did try using jquery UI to tag the item tbody as sortable, but I guess the library is constantly recomputing the index positions so the rows end up coming back to their original position.

The sortable feature did work on the fields themselves, so I was able to reorder member fields up and down by drag-drop.

As an alternative, it would be just as good a feature if there is a move up move down button on each item, but since it is just as complex, I'd say a drag and drop would make much more sense.

I'd be happy to make a pull request, if I just am pointed in the right direction.

@syedtalha
Copy link
Author

any pointers on this?

@idelvall
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants