Probably this is a silly question, but I just can't get it.
I have created a todo app
todo app gets data from the list service to display items in the list
items in the list have checkboxes
once a person clicks checkbox, i want this to be transferred to the db.
4.1. to do this i created update task service and mapped its invocation on click on the checkbox.The update doesn't happen.
What am I doing wrong? Maybe I'm missing local variables? if yes, then where should i have them? I mean that anyway the list_service returns everything from the db (including object ids), i display only task names, not object ids. Does this mean that object ids are 'lost'? So that i should clearly map them to something - not to loose them? If yes, then to what they should be mapped in my example?
Once again sorry for the silly question and also for not formulating it in a proper way - I just seem to miss something and just don't get what I'm missing.
Thank you.