Select2: Uncaught TypeError: Cannot read property 'query' of null

Created on 9 Feb 2016  路  3Comments  路  Source: select2/select2

I have no idea why I get the exceptions "Uncaught TypeError: Cannot read property 'query' of null" when I click on _x_ to clear Select2 values.

Here is my KnockoutJS v2.2.0 custom binding to Select2 v4.0.1: http://codepen.io/hipertracker/pen/mVLojK

Most helpful comment

How did you solved this issue?

All 3 comments

Well, I found a workaround. My snippet has been updated

How did you solved this issue?

Also interested in this using jQuery..

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fr0z3nfyr picture fr0z3nfyr  路  3Comments

dereuromark picture dereuromark  路  3Comments

ghost picture ghost  路  3Comments

e-frank picture e-frank  路  3Comments

FezVrasta picture FezVrasta  路  3Comments