Change Event bug?

Thread is closed for posting
7 posts, 0 answers
  1. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 24 Jan 2013 Link to this post

    Demo page: http://demos.kendoui.com/web/datepicker/events.html

    Non-date values don't trigger change events...so I can't remove\fix non-date values (as the control doesn't seem to enforce that itself...or am I missing a property to do that?)
  2. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 28 Jan 2013 Link to this post

    Hello Steve,

     
    The described behavior is expected. The DatePicker widget raises when its value changes. When an invalid date is entered then the widget value is null. If another invalid string is typed its value is still null and change event will not be raised. If you need to listen to input change then I will suggest you wire it instead of the widget's one. 

    All the best,
    Alexander Valchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 28 Jan 2013 Link to this post

    Well if yer gonna do that, then please at least make it so it ONLY accepts dates, like wipe the text if some non-date value is in there.

    What you're doing to me is making me need to write my own blur\change for every date picker I use...ever...in anything
  5. Michael
    Michael avatar
    43 posts
    Member since:
    Dec 2010

    Posted 30 Apr 2013 Link to this post

    I have to agree...seems like a no-brainer to me.  Why in the world would I want someone to be able to type in "blah" for a date field?  So now, I have to manually handle this myself...
  6. Justin
    Justin avatar
    1 posts
    Member since:
    Aug 2013

    Posted 21 Nov 2013 Link to this post

    I agree.  This is horrible behavior. It's a datepicker field.  Why would I want to ignore 'blah'?
  7. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3706 posts

    Posted 22 Nov 2013 Link to this post

    Hello guys,

    I will suggest you open a discussion in our uservoice channel. Thus we will be able to gather community feedback about this implementation.

    Regards,
    Georgi Krustev
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  8. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 22 Nov 2013 Link to this post

    Vote:
    http://feedback.kendoui.com/forums/127393-kendo-ui-feedback/suggestions/5044563-date-time-picker-non-date-values-should-trigger-c

    ...worst thing on uservoice to spend votes on, it should be considered a bug...date\time that accepts non-datetime, wtf

    This is annoying
Back to Top
Kendo UI is VS 2017 Ready