mirror of
https://github.com/discourse/discourse.git
synced 2025-02-23 04:55:00 +00:00
22 lines
568 B
Handlebars
22 lines
568 B
Handlebars
{{#if collection}}
|
|
<div class='values'>
|
|
{{#each collection as |value index|}}
|
|
<div class='value' data-index={{index}}>
|
|
{{d-button action="removeValue"
|
|
actionParam=value
|
|
icon="times"
|
|
class="remove-value-btn btn-small"}}
|
|
|
|
{{input value=value class="value-input" focus-out=(action "changeValue" index)}}
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
{{/if}}
|
|
|
|
{{combo-box
|
|
allowAny=true
|
|
allowContentReplacement=true
|
|
none=noneKey
|
|
content=filteredChoices
|
|
onSelect=(action "selectChoice")}}
|