I used Select2 4.0.6, I have a bug like below:
allowClear gives \"Uncaught TypeError: Cannot read property \'id\' of undefined\" when used on select.
How can I f
If you set the debug property to true you'll see a warning message.
debug
true
The allowClear option should be used in combination with the placeholder option.
allowClear
placeholder
abcs dshdshA ANAM CO
So you have to define a placeholder as default.