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. |
||
---|---|---|
.. | ||
css | ||
js |