The init function of the with
binding copies off the children of the element to use as a "template". The update
portion applies the current data against that "template".
So, when your binding's code runs, you are right in between the with
binding's init
and update
.
One solution for you is to list your binding before the with
binding.