Skip to content

Selectize does not seem to work in IE11 with older angular versions #177

@mhording

Description

@mhording

Upgrading angular is not an option here.

The setup includes
"angular": "1.5.8",
"selectize": "^0.12.4",
"angular-selectize2": "1.2.3"
"jquery": "2.1.4",

The directive seems to be working in almost every other browser with this setup, including Edge, but fails in IE11.

The error I am getting in IE11 is

Error: Invalid argument.
at setup (http://wfcontent-dev.local/wf/libs.js?ver=3.12.0-alpha:67555:13494)
at w (http://wfcontent-dev.local/wf/libs.js?ver=3.12.0-alpha:67555:11805)
at Anonymous function (http://wfcontent-dev.local/wf/libs.js?ver=3.12.0-alpha:67556:8093)
at each (http://wfcontent-dev.local/wf/shims.js?ver=3.12.0-alpha:374:6)
at jQuery.prototype.each (http://wfcontent-dev.local/wf/shims.js?ver=3.12.0-alpha:139:3)
at a.fn.selectize (http://wfcontent-dev.local/wf/libs.js?ver=3.12.0-alpha:67556:7803)
at link (http://wfcontent-dev.local/wf/libs.js?ver=3.12.0-alpha:67683:3)
at Anonymous function (http://wfcontent-dev.local/wf/libs.js?ver=3.12.0-alpha:14677:11)
at Anonymous function (http://wfcontent-dev.local/wf/libs.js?ver=3.12.0-alpha:23359:34)
at invokeLinkFn (http://wfcontent-dev.local/wf/libs.js?ver=3.12.0-alpha:23365:9) <selectize class="ng-pristine ng-untouched ng-valid ng-isolate-scope" ng-model="$ctrl.question.value" ng-disabled="!$ctrl.editable" ng-change="$ctrl.c

If i try the plunk however, it seems to be working just fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions