jQWidgets Forums

jQuery UI Widgets Forums React Error with version 6.0.6 of jqwidgets

This topic contains 1 reply, has 2 voices, and was last updated by  Martin 6 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Error with version 6.0.6 of jqwidgets #101704

    adrian_hd
    Participant

    Hello!, I updated the library to the latest version (6.0.6) but it marks the following error:

    Uncaught TypeError: Cannot set property 'originalVal' of undefined
    at bundle.js:8885
        at Object.<anonymous> (bundle.js:8992)
        at __webpack_require__ (bundle.js:689)
        at fn (bundle.js:110)
        at Object.<anonymous> (bundle.js:63553)
        at __webpack_require__ (bundle.js:689)
        at fn (bundle.js:110)
        at Object.defineProperty.value (bundle.js:61063)
        at __webpack_require__ (bundle.js:689)
        at fn (bundle.js:110)

    Specifically in:

    } else {
    if (g !== undefined) {
    if (b(e[d]).is(g)) {
    return true;
    }
    }
    }
    }return false;
    } });
    }b.fn.jqxProxy = function () {
    var e = b(this).data().jqxWidget;var c = Array.prototype.slice.call(arguments, 0);var d = e.element;if (!d) {
    d = e.base.element;
    }return b.jqx.jqxWidgetProxy(e.widgetName, d, c);
    };var a = this.originalVal = b.fn.val;b.fn.val = function (d) {
    if (typeof d == “undefined”) {
    if (b(this).hasClass(“jqx-widget”)) {
    var c = b(this).data().jqxWidget;if (c && c.val) {
    return c.val();
    }
    }if (this[0] && this[0].tagName.toLowerCase().indexOf(“angular”) >= 0) {
    var c = b(this).find(“.jqx-widget”).data().jqxWidget;if (c && c.val) {
    return c.val();
    }
    }return a.call(this);
    } else {

    I do not know what it should be because I had the version jQWidgets v5.2.0 before and it worked correctly.

    Error with version 6.0.6 of jqwidgets #101718

    Martin
    Participant

    Hello adrian_hd,

    Can explain a bit more, or send us your code?
    Did you figured out, where in your code this error is thrown from?
    Thank you!

    Best Regards,
    Martin

    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.