We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Knockout binding does not work with numerics and dropdowns with durandal dialogs

Thread ID:





126596 Oct 17,2016 10:44 AM UTC Oct 21,2016 11:38 AM UTC JavaScript 1
Tags: General
Asked On October 17, 2016 10:44 AM UTC


I have some strange problem but I'm not quite sure if it is synfusion or durandal issue, but since it happens in synfusions controls, I start from here. 

I made simple test example for you (in attachment) and there we can reproduce bug. 
When project starts, there is only one button "Open dialog". When we click on it, durandal dialog is open, and there is only one numeric input and one button 'Close dialog'.
We can click 'up' and 'down' on numeric and everything works fine, knockout binding works perfectly.

When we close dialog and open it again (dialog viewmodel.js is function it means every time new object is created), and click 'up' and 'down' buttons on input, values is changed correctly in input field but in console we get error:
    Uncaught TypeError: Cannot use 'in' operator to search for 'modelChange' in null.

Error is always happens after first open and close dialog. Every second, third, fourth...time when we open dialog and try to change the value we get described error. Error also happens with drop downs, but with different description:
    ej.core.min.js:10 Uncaught TypeError: Cannot use 'in' operator to search for 'modelChange' in null

I really do not know what happens, any help is appreciated.


Attachment: HTML_StarterKit_18960059.zip

Shanmugaraja K [Syncfusion]
Replied On October 21, 2016 11:38 AM UTC

Hi Milos, 
Thank you for using Syncfusion products, 
We have considered this “Script error while changing numeric text box value in knockout binding” as an issue and a support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates. 
Shanmugaraja K 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon