78b6faf13e
The `allowClear` option may not work as intended if a placeholder is not used. This is becaise the placeholder holds the value that the `<select>` should be reset to when the `x` is hit. An error is now properly raised in the console when Select2 detects that the `allowClear` option is used without the `placeholder` option. This closes https://github.com/select2/select2/issues/3016. |
||
---|---|---|
.. | ||
i18n | ||
select2.amd.full.js | ||
select2.amd.js | ||
select2.full.js | ||
select2.full.min.js | ||
select2.js | ||
select2.min.js |