jQWidgets Forums

jQuery UI Widgets Forums Lists ComboBox Error when oppenning combobox

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Error when oppenning combobox #54445

    Ridbark
    Participant

    Hello,

    I have an error :

    Uncaught TypeError: Object 31 has no method 'toUpperCase'        jqxcore.js:1715
    a.extend.containsIgnoreCase                                       jqxcore.js:1715
    (anonymous function)                                              jqxcombobox.js:586
    jQuery.extend.each                                                jquery-2.1.0.js:382
    a.extend._updateItemsVisibility                                   jqxcombobox.js:567
    a.extend.showListBox                                              jqxcombobox.js:1588
    b                                                                 jqxcombobox.js:979
    (anonymous function)                                              jqxcombobox.js:992
    jQuery.event.dispatch                                             jquery-2.1.0.js:4380
    elemData.handle                                                   jquery-2.1.0.js:4066

    This error comes from your implementation in a jqxComboBox function : you watch if there are a label, unfortunately, my label was only “”, so the test return false and then, you test the value, which is “31”, but it’s not a string, it’s an integer! (and i need this value to be an integer)
    For that, there are no problem! But after, because i have the “autocompletion” option activate, with the “ingore case” option, you call the function “toUpperCase” … on an integer …
    To correct that, it’s not really hard for me, but i have to change your code! And i could not upgrade jqWidget to a newer version after this change if you doesn’t change that on your side …
    So, my real question is : is there a place to indicate the bugs found in your implementation? (bugs for some special case and in general case, no bugs!)

    Best regards,
    Ridbark

    Error when oppenning combobox #54446

    Peter Stoev
    Keymaster

    Hi Ridbark,

    It is Ok to post your questions and reports in this Forum. It would be also good to report things only which are actual and valid for current version, because this post seems to be not valid for it. However, please, read the EULA before using this software, because things like modifying our code, translating our code, etc are prohibited.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Error when oppenning combobox #54453

    Ridbark
    Participant

    Hi Peter,

    Allright, i change my code to correct this bug, it’s ugly but it works …

    If by telling ‘ It would be also good to report things only which are actual and valid for current version, because this post seems to be not valid for it ‘ you refer to the version of my jqwidget, i have the version 3.2.1 so, indead, it’s not the last one! But i check in the code of the newer version (without changing him of course, don’t worry) and the bug (for this special case) is, apparently, not corrected.

    Thank you for your quick answer, like always! 🙂

    Best regards,
    Ridbark

    Error when oppenning combobox #54457

    Peter Stoev
    Keymaster

    Hi Ridbark,

    Ok, if you would like to report a bug, then please provide a sample which demonstrates it. I am not much worried, but by writing that there’s something wrong on our side without proving that there is, is not much helpful and since we cannot reproduce it with latest version makes me think that your statement is wrong unless you prove that I am wrong :).

    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.