mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 16:34:23 +08:00
11067c73d0
One step closer to removing all `action` helper usage
16 lines
444 B
Handlebars
16 lines
444 B
Handlebars
<ComboBox
|
|
@content={{this.setting.validValues}}
|
|
@value={{this.value}}
|
|
@onChange={{fn (mut this.value)}}
|
|
@valueProperty={{this.setting.computedValueProperty}}
|
|
@nameProperty={{this.setting.computedNameProperty}}
|
|
@options={{hash castInteger=true allowAny=this.setting.allowsNone}}
|
|
/>
|
|
|
|
{{this.preview}}
|
|
|
|
<SettingValidationMessage @message={{this.validationMessage}} />
|
|
|
|
<div class="desc">
|
|
{{html-safe this.setting.description}}
|
|
</div> |