Hello,
One of my users requested that when new items are added to a list, they appear at the top (so they don't have to keep scrolling down).
Could we add this ability to have a reverse order list view?
Hello,
One of my users requested that when new items are added to a list, they appear at the top (so they don't have to keep scrolling down).
Could we add this ability to have a reverse order list view?
Found a partial code solution instead, just unshifting the array:
if(dropdown1.value){
const newProduct= {
...dropdown1.value,
quantity: 1
}
const newArr = currentProducts.value;
newArr.unshift(newProduct)
currentProducts.setValue(newArr);
}
However, this caused a lot of the information in the listview to bug out since they rely on the indices which change