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
When using utils.initSlotItemMap(users.value, 'userId') it return a map where key and value are both userId. This is a little bit confusing.
Is it a normal behavior ?
Also when using the onSwapEnd event the event value has the hasChanged attribute to False. Also the list data even if the slot value have changed the array order is still the same than before the swap.
The text was updated successfully, but these errors were encountered:
Only some confusion when I used to update the wrong element because I used the wrong key to update the element (and the hasChanged bug made me even more difficult to understant)
To resume: I took an id and has the order doesnt' change beacuse of the bug I thought the key to use was the sloted one instead of the ID.
Will test the fix of hasChanged later this week. Thank you.
Hello,
Using Swapy 1.0.3. I follow this how to : https://swapy.tahazsh.com/docs/framework-vue-dynamic/
When using utils.initSlotItemMap(users.value, 'userId') it return a map where key and value are both userId. This is a little bit confusing.
Is it a normal behavior ?
Also when using the onSwapEnd event the event value has the hasChanged attribute to False. Also the list data even if the slot value have changed the array order is still the same than before the swap.
The text was updated successfully, but these errors were encountered: