Hi,
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.
Regards,
Milos
Attachment:
HTML_StarterKit_18960059.zip