1
0
mirror of synced 2024-11-22 13:06:08 +03:00
select2/dist
Kevin Brown 78b6faf13e Check that allowClear is used with placeholder
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.
2015-02-06 19:20:18 -05:00
..
css Fix z-index for modals 2015-01-27 14:27:18 -05:00
js Check that allowClear is used with placeholder 2015-02-06 19:20:18 -05:00