You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a good way to modify the positions/index of the files iterated from interface.getFiles() so that the files are uploaded in the order selected by users? I would like users to visually drag and drop files to re-order them so I need to have the re-ordered changes bound to the view.
I tried to re-order the files by directly setting the DropletModel of a given index with a different DropletModel, but that didn't work: $scope.interface.getFiles($scope.interface.FILE_TYPES.VALID)[index] = data;
The text was updated successfully, but these errors were encountered:
Is there a good way to modify the positions/index of the files iterated from
interface.getFiles()
so that the files are uploaded in the order selected by users? I would like users to visually drag and drop files to re-order them so I need to have the re-ordered changes bound to the view.I tried to re-order the files by directly setting the DropletModel of a given index with a different DropletModel, but that didn't work:
$scope.interface.getFiles($scope.interface.FILE_TYPES.VALID)[index] = data;
The text was updated successfully, but these errors were encountered: