Hi,
I'm using v2014.2.716 and I'm having an issue with the data-value-update attribute when used on anything other than a plain, un-kendo'd <input>.
Example
Given this markup:
and this script:
I would have expected that as one types in the textbox, the <h3> element would update as each character is typed in the textbox.
However, this *only* works if I remove the data-role="maskedtextbox" from the <input> element...is data-value-update not actually supported for Kendo widgets? If not, then how can I style this plain input to look just like a kendo masked textbox? I don't need the masking behaviour, but it will stick out like a sore thumb on my form if it's not a kendo widget!
Many thanks,
Stephen
I'm using v2014.2.716 and I'm having an issue with the data-value-update attribute when used on anything other than a plain, un-kendo'd <input>.
Example
Given this markup:
<
div
id
=
"routes"
>
<
input
id
=
"route-value"
data-role
=
"maskedtextbox"
data-value-update
=
"keyup"
data-bind
=
"value:route"
/>
<
h3
data-bind
=
"html: route"
></
h3
>
</
div
>
and this script:
<script>
var
model = kendo.observable({
route:
"Initial value"
});
$(document).ready(
function
() {
kendo.bind($(
"#routes"
), model);
});
</script>
I would have expected that as one types in the textbox, the <h3> element would update as each character is typed in the textbox.
However, this *only* works if I remove the data-role="maskedtextbox" from the <input> element...is data-value-update not actually supported for Kendo widgets? If not, then how can I style this plain input to look just like a kendo masked textbox? I don't need the masking behaviour, but it will stick out like a sore thumb on my form if it's not a kendo widget!
Many thanks,
Stephen