Hi, thanks for the answer.
The templates for select are being used to do this:
<option data-bind=
"value: itemNumber, text: description"
#if(lineNumber === "-1"){ # data-localize="mobile.editaccounting" #}# ></option>
Is using templates for select simply not recommended or it's plain wrong and will cause further bugs etc.?
I will read up on the links that you have provided and try to simplify my code base. However, as far as I understand the underlying problem is that when I re-set the viewModel values I should do it in a more granular fashion, rather than just setting the parent element? Is that a correct conclusion for the event handlers getting messed up?
If yes then does it imply that I will have to loop through the arrays of objects and set values accordingly?