Just looking at the beta MVVM stuff, and wondering if it's possible set the update mode to onchange instead of onblur for input tags.
EDIT: I just found the following in the docs (I was actually looking for BETA docs, but realized the MVVM stuff is documented in the "regular" docs):
value binding relies on the
change DOM event which is raised after blurring an input element whose value has changed. This means that the
value from the View-Model will be updated when the input element loses focus.
Is there any chance of seeing this changed in final release to rely on HTML events as well as DOM events ? Having the underlying View-Model update as the user types text is required in some scenarios.
7 Answers, 1 is accepted
What I meant by relying on HTML events is not correct, so please disregard this.
What I really meant was that it would be nice to have a "valueUpdate" parameter to the value binding that would allow us to specify WHEN then actual update to the View-Model occurs.
This would allow us to specify, for example, "keyup" to update the View-Model after the user releases a key instead of when the focus is lost.
Isn't the point of releasing BETA software to gather comments from users and discuss the issues ?
I'm pointing out the fact that the MVVM data binding version of KendoUI, so far, doesn't allow for "real time" update to the underlying model.
On the other hand, KnockoutJS does provide this functionality.
I'm asking if this will make it into your product or not.
Am I expecting too much by expecting a reply ?
Kendo MVVM will add support for real-time updating of the View-Model in the official version.Regards,
the Telerik team
Has this been implemented in Q1 2012 ?
I had to look at the KendoUI binding code to find out how this works, as the docs are not updated yet:
<input data-bind="value: inputValue" data-value-Update="keyup" />
I'm trying to build a password strength meter using Kendo ProgressBar widget and a data bound input field. I need the model to be updated onchange instead of onblur.
Is it possible to change this default behavior? It's possible to do this as shown in this demo, but I want it to work with data binding.
Could you point me to the right documentation?