knockout-bootstrap icon indicating copy to clipboard operation
knockout-bootstrap copied to clipboard

Knockout 3

Open nodrog opened this issue 11 years ago • 5 comments

hello

Does anyone have any ideas on knockout bootstrap working with knockout 3

I am getting errors on the progress bar (i only use this at the moment)

Uncaught Error: You cannot apply bindings multiple times to the same element.

any thoughts?

thanks

nodrog avatar Oct 29 '13 14:10 nodrog

can you post a jsfiddle/jsbin reproducing the issue?

billpull avatar Oct 29 '13 20:10 billpull

I see that this issue is open but the merge confuses me. Is this open? I'm having this exact same error. I'm using Durandal which uses KO to dynamically compose MVVM. I'm assuming the issue relates to this line of the progress binding:

koObject.applyBindingsToDescendants(viewModel, $element[0]);

Now I believe that if you apply bindings to descendants that you are supposed to tell KO not to apply bindings using:

return { controlsDescendantBindings: true };

While adding this line does cause the error to not appear, it doesn't cause the progress bar to update along with it's bound observable either.

rlvandaveer avatar Apr 11 '14 02:04 rlvandaveer

Yea still havent had time to upgrade this lib to knockout 3 would really like to get it done but can't nail down what is causing that error.

billpull avatar Apr 11 '14 18:04 billpull

Hey Bill, any news on this?

mika76 avatar Mar 06 '15 16:03 mika76

To be honest its been awhile since ive worked on or used this project so doubtful I would personally get around to upgrading this to Ko3

billpull avatar Mar 06 '15 16:03 billpull