Skip to content
This repository has been archived by the owner on Oct 14, 2019. It is now read-only.

Conception issue #1

Open
anodynos opened this issue Jul 24, 2012 · 2 comments
Open

Conception issue #1

anodynos opened this issue Jul 24, 2012 · 2 comments

Comments

@anodynos
Copy link

I am sorry, but I think one doesn't quite understand how your proposal is effectively different from ko2.1's

ko.applyBindings(myViewModel, document.getElementById('someElementId')). 

Could you please indicate a concrete scenario that can't be (easily) done with native ko whereas MultiModals shines ?

@abergs
Copy link

abergs commented Aug 2, 2012

I agree. What is the difference? (edit: Realizing i sound like a douche, not intended)

@cdaly2012
Copy link

I completely get what this plugin does. I needed to avoid grouping my form fields on the page. This was exactly what I was looking for.

There was just one alteration I needed to make to get my requirement to work - the refreshBindings method was restricted to only allow new fields in and not update the existing fields. I removed this limitation and my form now has the flexible 2 way binding I needed using multiple ViewModels. My form has a reset button which gets the original view model back and updates the fields.

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants