jQWidgets Forums

jQuery UI Widgets Forums Lists ComboBox Readonly

Tagged: 

This topic contains 3 replies, has 3 voices, and was last updated by  marveen 9 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Readonly Posts
  • Readonly #21911

    jorge
    Member

    Hi

    Is there a proper way to make the combobox “readonly”? The reason I want to achieve this is to avoid the android keyboard appearing if the user touch the text area.

    I’ve found the following solution, but I don’t like it:

    $('#jqxcombobox').find('input, textarea, select').attr('readonly', true);

    The reason I don’t like it is because in the desktop a forbidden icon appears when hover the mouse over the text area and in the phone it makes the text area to feel unresponsive.

    What I’d like is to open the list if the user touch the text area or the dropdown icon, without entering into edit mode.

    Is that possible? I think it should be, that behavior is needed in a lot of apps.

    Thank you.

    Readonly #21912

    Peter Stoev
    Keymaster

    Hi jorge,

    Is not it better idea to use jqxDropDownList if you need a read-only popup list?

    Best Regards,
    Peter Stoev

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

    Readonly #21914

    jorge
    Member

    Yes it is… sorry I didn’t see it 🙂

    Is there any way to make the font a little bit bigger?

    Readonly #75062

    marveen
    Participant

    yo utilize 🙂

    $(‘[id^=cmb]’).find(‘input, textarea, select’).attr(‘readonly’, true);
    controles , comienzan con la palabra CMB.

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

You must be logged in to reply to this topic.