jQWidgets Forums

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts

  • milind
    Participant

    Yes got it. Thanks.


    milind
    Participant

    I think the above mentioned issue is browser dependent. We are having this issue in Google Chrome Version 56.0.2924.87. But in it’s previous version 55.. it was working properly. In Firefox too we are having the same issue but in Safari it is working properly.
    Thanks.


    milind
    Participant

    Thanks Peter for your reply.

    We are already checking for args in ComboBox’s change event. First time we get correct value but second time we are getting undefined and args is false and so goes into else part clearing the combobox value. Can we restrict the second call?
    e.g.

                $('#cmbState').on('change', function (event) {
                    var hidStateId = document.getElementById("hidStateId");
                    var args = event.args;
                    if (args) {
                        var item = args.item;
                        var value = item.value;
                        hidStateId.value = value;
                    }
                    else {
                        hidStateId.value = '';
                        $("#errNotification").jqxNotification({ width: 270 });
                        $("#errNotificationmsg").text("State does not exist");
                        $("#errNotification").jqxNotification("open");
                        $("#cmbState").val('');
                        $("#cmbState input").focus();
                    }
                });
    
Viewing 3 posts - 1 through 3 (of 3 total)