From ember-template-lint documentation (https://github.com/ember-template-lint/ember-template-lint/blob/master/docs/rule/no-unbound.md): ``` {{unbound}} is a legacy hold over from the days in which Ember's template engine was less performant. Its use today is vestigial, and it no longer offers performance benefits. It is also a poor practice to use it for rendering only the initial value of a property that may later change. ``` Co-Authored-By: Jarek Radosz <jradosz@gmail.com>
20 lines
380 B
Handlebars
20 lines
380 B
Handlebars
{{combo-box
|
|
content=setting.validValues
|
|
value=value
|
|
onChange=(action (mut value))
|
|
valueProperty=setting.computedValueProperty
|
|
nameProperty=setting.computedNameProperty
|
|
options=(hash
|
|
castInteger=true
|
|
allowAny=setting.allowsNone
|
|
)
|
|
}}
|
|
|
|
{{preview}}
|
|
|
|
{{setting-validation-message message=validationMessage}}
|
|
|
|
<div class='desc'>
|
|
{{{setting.description}}}
|
|
</div>
|