jQWidgets Forums

jQuery UI Widgets Forums Editors DateTimeInput jqxDateTimeInput allowKeyboardDelete: false

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 11 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • jqxDateTimeInput allowKeyboardDelete: false #28687

    shardik
    Participant

    Hallo
    with this property, if I delete the date
    I can’t write with keyboard, if i’ve set showCalendarButton: false

    Tank 4 help

    S

    jqxDateTimeInput allowKeyboardDelete: false #28696

    Peter Stoev
    Keymaster

    Hi shardik,

    We cannot confirm such behavior with ver. 3.0.2.

    Example:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta name="keywords" content="jQuery Calendar, Month Calendar, MonthCalendar, DateTimeInput, DateTimePicker, Date Picker" />
    <meta name="description" content="This demo demonstrates the jqxDateTimeInput widget. Click the calendar button to open the popup and select a date from the calendar.
    You can also enter a date by typing into the jqxDateTimeInput text input field." />
    <title id='Description'>This demo demonstrates the jqxDateTimeInput widget. Click the
    calendar button to open the popup and select a date from the calendar. You can also
    enter a date by typing into the jqxDateTimeInput text input field. </title>
    <link rel="stylesheet" href="../../jqwidgets/styles/jqx.base.css" type="text/css" />
    <script type="text/javascript" src="../../scripts/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="../../scripts/gettheme.js"></script>
    <script type="text/javascript" src="../../jqwidgets/jqxcore.js"></script>
    <script type="text/javascript" src="../../jqwidgets/jqxdatetimeinput.js"></script>
    <script type="text/javascript" src="../../jqwidgets/jqxcalendar.js"></script>
    <script type="text/javascript" src="../../jqwidgets/jqxtooltip.js"></script>
    <script type="text/javascript" src="../../jqwidgets/globalization/globalize.js"></script>
    </head>
    <body>
    <div id='content'>
    <script type="text/javascript">
    $(document).ready(function () {
    var theme = getDemoTheme();
    // Create a jqxDateTimeInput
    $("#jqxWidget").jqxDateTimeInput({showCalendarButton: false, allowKeyboardDelete: false, width: '250px', height: '25px', theme: theme });
    $("#jqxWidget").jqxDateTimeInput('setDate', null);
    });
    </script>
    <div id='jqxWidget'>
    </div>
    </div>
    </body>
    </html>

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.