I’m not sure if this is happening with other components or not, but I have a List with a function that fires on the “Change” event for the data of the list. The function calls my API to update the database, and displays a message when the update is complete. I noticed that every time I clicked on an item in the list to select it, I was getting a message indicating that the update had completed. It appears that selecting the item in the list adds a property named “$selected” and sets it to true.
This is actually corrupting my data because I use a field to track the last user to modify a record; that field is getting modified every time an item is selected in the list, making it entirely useless.
Is there a way to have the “change” event not be fired if the only change is the “$selected” property?