2015-06-09 12:19:41 -04:00
|
|
|
{{#if collection}}
|
|
|
|
<div class='values'>
|
2015-07-28 15:58:49 -04:00
|
|
|
{{#each collection as |value index|}}
|
2018-08-03 16:41:37 -04:00
|
|
|
<div class='value' data-index={{index}}>
|
2019-01-10 05:06:01 -05:00
|
|
|
{{d-button action=(action "removeValue")
|
2015-06-09 12:19:41 -04:00
|
|
|
actionParam=value
|
|
|
|
icon="times"
|
2018-10-24 16:09:36 -04:00
|
|
|
class="btn-default remove-value-btn btn-small"}}
|
2018-08-03 16:41:37 -04:00
|
|
|
|
2018-10-08 06:08:36 -04:00
|
|
|
{{input title=value value=value class="value-input" focus-out=(action "changeValue" index)}}
|
2015-06-09 12:19:41 -04:00
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2018-08-03 16:41:37 -04:00
|
|
|
{{combo-box
|
|
|
|
allowAny=true
|
|
|
|
allowContentReplacement=true
|
|
|
|
none=noneKey
|
|
|
|
content=filteredChoices
|
|
|
|
onSelect=(action "selectChoice")}}
|