checkbox validation bug

2 posts, 0 answers
  1. Greg
    Greg avatar
    1 posts
    Member since:
    Nov 2012

    Posted 15 Nov 2012 Link to this post

    Just noticed a small bug in validating a checkbox. 

    To replicate in demo:
    1. tab to checkbox
    2. click checkbox with mouse

    Result: A checked box with error message (as if it wasn't checked).
  2. Rosen
    Rosen avatar
    3253 posts

    Posted 16 Nov 2012 Link to this post

    Hi Greg,

    The behavior you are observing is due to the fact that validation is triggered when element looses focus. In the described scenario, as the checkbox is focused with the keyboard, the blur is triggered before the click, executing the validation. At this point the checkbox state is not valid, thus the validation message is displayed.

    However, we have enhanced the validator behavior to trigger validation on checkbox click. This improvement will be included in the next release of KendoUI.

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