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

moveItemInArray not working #14776

Closed
anandsunku opened this Issue Jan 10, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@anandsunku
Copy link

anandsunku commented Jan 10, 2019

What is the expected behavior?

should be moving elements within the list

What is the current behavior?

by using the below statement it is not working, but a simple array works

function(listid){
....
moveItemInArray(this.lists.listitems[listid].items, event.previousIndex, event.currentIndex);
...
}

What are the steps to reproduce?

Providing a StackBlitz reproduction is the best way to share your issue.

StackBlitz starter: https://goo.gl/wwnhMV

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Is there anything else we should know?

@anandsunku anandsunku closed this Jan 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment