jQWidgets Forums

jQuery UI Widgets Forums Editors DateTimeInput Disable jqxDateTimeInput

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by  Peter Stoev 10 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Disable jqxDateTimeInput #56911

    cosostones
    Participant

    Hello,

    I noticed something on the jqxDateTimeInput when it is instantiate with the disabled property to true, the text input inside is still accessible.

    On the other hand if the disabled property is set afterwards the text input is correctly disable.

    Regards.

    Disable jqxDateTimeInput #56920

    Peter Stoev
    Keymaster

    Hi cosostones,

    I don’t think that it is accessbile. You are unable to write anything. However, I agree that there’s a slight difference. If it is set afterwards, clicking is disabled as well.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Disable jqxDateTimeInput #56930

    cosostones
    Participant

    Hello Peter,

    I agree we cannot write something but we can suppress the value with backspace.

    Moreover I don’t understand why there is a different behavior between the two way to disable. Will that be fix ?

    Regards.

    Disable jqxDateTimeInput #56932

    Peter Stoev
    Keymaster

    Hi cosostones,

    A solution for you is to select the INPUT HTML Element of the DateTimeInput and set dynamically the “disabled” attribute to true.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.