Changed field left by clicking window close X does not register as change.

2 posts, 0 answers
  1. Rick
    Rick avatar
    23 posts
    Member since:
    Jul 2015

    Posted 04 Nov 2015 Link to this post

    A function bound to 'set' on a viewModel is not called unless focus is lost to some other field, the window background, or a button if it is enabled. Clicking the X to close the window does not register as a change in focus. This leads to awkward behavior. Update one text field and click X and the window closes without having a chance to save the value. Update more than one field and the last field edit can be lost.

    The attached Dojo snippet shows the problem. A lot of other stuff works and I will be using it a lot in my app.


  2. Nikolay Rusev
    Nikolay Rusev avatar
    2289 posts

    Posted 09 Nov 2015 Link to this post

    Hello Rick,



    I'm not able to replicate describe behaivor. I've recorded the screen cast of my tests. Changing a field and click on the X button of the window seems to trigger set event of the view model. Am I missing something?


    Nikolay Rusev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top