2016-07-12 20:37:53 +02:00
|
|
|
<template name="inputSelect">
|
|
|
|
|
{{#baseComponent (extend this
|
|
|
|
|
base='baseSelect'
|
2016-07-15 19:44:31 +02:00
|
|
|
mixins=(concat 'select2 ' this.mixins)
|
2016-07-12 20:37:53 +02:00
|
|
|
wrappers=(concat ''
|
|
|
|
|
(valueIf reactive this.label 'wrapperLabel ' '')
|
2016-07-14 16:25:39 +02:00
|
|
|
this.wrappers
|
2016-07-12 20:37:53 +02:00
|
|
|
)
|
2016-07-15 19:44:31 +02:00
|
|
|
options=(clone this.options
|
|
|
|
|
multiple=(valueIf this.multiple true false)
|
|
|
|
|
minimumResultsForSearch=(valueIf this.hideSearch
|
|
|
|
|
-1 this.minimumResultsForSearch
|
|
|
|
|
)
|
|
|
|
|
)
|
2016-07-12 20:37:53 +02:00
|
|
|
)}}
|
|
|
|
|
{{>UI.contentBlock}}
|
|
|
|
|
{{/baseComponent}}
|
|
|
|
|
</template>
|