sheadawson / silverstripe-select2

A silverstripe form field based on http://ivaynberg.github.com/select2/
BSD 3-Clause "New" or "Revised" License
18 stars 18 forks source link

Added allowClear & DataList Excludes #2

Closed zannstpierre closed 10 years ago

zannstpierre commented 10 years ago

Added allowClear option to Select2 init to allow native clearing of select2 element once an option has been selected.

Added DataList Excludes array to allow for extended control over the returned list.

Signed-off-by: Zann St Pierre mail@zann.com.au