<template name="inputSelect">
    {{#baseComponent (extend this
        base='baseSelect'
        mixins=(concat 'select2 ' this.mixins)
        wrappers=(concat ''
            (valueIf reactive this.label 'wrapperLabel ' '')
            this.wrappers
        )
        options=(clone this.options
            multiple=(choose this.options.multiple this.multiple false)
            placeholder=(choose this.options.placeholder this.placeholder)
            minimumResultsForSearch=(valueIf this.hideSearch -1 this.options.minimumResultsForSearch)
        )
    )}}
        {{>UI.contentBlock}}
    {{/baseComponent}}
</template>
