PDA

View Full Version : [FIXED] Binding a ViewModel to a Model always causes an unnecessary server request



Mahmoud690
19 May 2014, 10:39 PM
I created a form and bind it to a model through a ViewModel but it send an unnecessary request to the server (whereas I don't need it when the form is in a new instance creation mode).
Please check this fiddle example :
https://fiddle.sencha.com/#fiddle/5vp (https://fiddle.sencha.com/#fiddle/5vp)

evant
19 May 2014, 10:49 PM
Thanks for the test case. There's some changes in the latest code that have changed the way we deal with model membership in viewmodels.

I've tested your code against it and it doesn't send off any requests.

Mahmoud690
19 May 2014, 11:34 PM
Thanks for your fast reply. So how/when can we get the latest version?