On 1/10/17, 10:02 AM, "piotrz" <piotrzarzyck...@gmail.com> wrote:
>Alex, > >I was also thinking that it shouldn't necessary be in that case generic >binding, but again it is all about condition. > >In case of ViewBinding condition is > >if (binding.source is Array >&& binding.source[0] == "applicationModel" >&& binding.source.length == 2 && binding.destination.length == 2) > >binding.source[0] is not "applicationModel" and later watcher map is being >created from that model. I'm not sure whether I can add another condition: > >if (binding.source is Array && binding.source.length == 2 && >binding.destination.length == 2) >//and then create simple binding > >I will try, but if this can be a fix ? Yes, or just remove the && binding.source[0] == "applicationModel" It may no longer be needed. I've been wondering if it is needed. I don't think ContainerDataBinding has such a check. Thanks, -Alex