Select2 gives you a customizable select box with support for: searching, tagging, remote data sets, infinite scrolling, and many other highly used options.
How to use?
You can provide option data(data source) as object example:{ optionValue1 : 'optionText1', optionValue2 : 'optionText2' } and bind text field as($value) and value field as ($key).
Use placeholder from (dynamic attribute -> select2 -> placeholder).
Note:
while updating select2 css file(select2.css) for modalFix add following attributes: