jQWidgets Forums

jQuery UI Widgets Forums Editors DateTimeInput Extra zero getting displayed

This topic contains 2 replies, has 2 voices, and was last updated by  mukund 11 years, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Extra zero getting displayed #49761

    mukund
    Participant

    Hi,

    I am using DateTimeInput and when I choose date from calendar as 2/2/2014 it displays correctly but when i focus on input box it adds extra zeroes in date like 02/02/2014. How to correct this. I expect this value to remain same as 2/2/2014, i am using format d/M/yyyy

    Regards,
    Mukund Tiwari

    Extra zero getting displayed #49777

    Peter Stoev
    Keymaster

    Hi Mukund,

    In Focused mode, it would display the extra zero because in Focused mode, you can edit the value with the keyboard. If there isn’t an extra zero, then you will not be able to enter 12/02/2014 for example.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    Extra zero getting displayed #49794

    mukund
    Participant

    Hi Peter,

    User cannot change value from keyboard, i made that disabled and user can only select date from calendar. So there is no need for extra zero.

    Regards,
    Mukund Tiwari

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.