jQWidgets Forums

jQuery UI Widgets Forums Editors DateTimeInput PlayeHolder missing

Tagged: 

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

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • PlayeHolder missing #28715

    parascus
    Participant

    Hello jQWidget-Team,

    as I read in the documentation and in the error message there’s no place holder property for the date time input. Is it planned to add this in the next version?

    Kind regards

    Stephan

    PlayeHolder missing #28727

    Peter Stoev
    Keymaster

    Hi Stephan,

    Such setting is not necessary for jqxDateTimeInput. It always displays a Date string.

    Best Regards,
    Peter Stoev

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

    PlayeHolder missing #28751

    parascus
    Participant

    Hi Peter,

    I try to set the value of the DateTimeInput to null which is necessary when I want to have an optional input. But initially it is set to the current date. Removing the value by keyboard has no effect … the value is restored. My expectation was that the field has no value from the scrach and instead it shows a place holder.

    So if there’s no place holder I still need a null value. How can I can accomplish this? Setting allowNullDate to true doesn’t solve it alone?

    Best regards

    Stephan

    PlayeHolder missing #28775

    Peter Stoev
    Keymaster

    Hi Stephan,

    Do you use jQWidgets 3.0.2? I am asking because by setting the jqxDateTimeInput’s date to null sets the jqxDateTimeInput’s date to null, not to the current date and also keyboard navigation is allowed which means that when you press a number in the input field, the value will be set to a non-null value. allowNullDate is enabled by default and it allows setting the widget’s date to null.

    Best Regards,
    Peter Stoev

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

    PlayeHolder missing #28789

    parascus
    Participant

    Hi Peter,

    thanks for your help. I think the trouble I had was a mixture of an older version (now I have installed 3.0.2) and an interferrance with a keydown-hook I had in another javascript function. Now I got the null value perfectly.

    Thanks and kind regards

    Stephan

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

You must be logged in to reply to this topic.