1.3 KiB
title | taxonomy | ||
---|---|---|---|
SelectAdapter |
|
Select2 provides the SelectAdapter
as a default implementation of the DataAdapter
adapter. It extends BaseAdapter
.
This adapter can be overridden by assigning a custom adapter to the dataAdapter
configuration option.
AMD Modules:
select2/data/base
select2/data/select
Decorators
Tags
This decorator implements the tagging feature.
AMD Modules:
select2/data/tags
For backwards compatibility, if an array of objects is
passed in with the tags
option, the options will be
automatically created and the user will be able to select from them.
This is the same as how array data
works, and has similar limitations.
MinimumInputLength
This decorator implements the minimum search term length feature as exposed through the minimumInputLength
configuration option.
AMD Modules:
select2/data/minimumInputLength
MaximumInputLength
This decorator implements the maximum search term length feature as exposed through the maximumInputLength
configuration option.
AMD Modules:
select2/data/maximumInputLength