mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 08:53:44 +08:00
16 lines
448 B
Handlebars
16 lines
448 B
Handlebars
<ComboBox
|
|
@content={{this.setting.validValues}}
|
|
@value={{this.value}}
|
|
@onChange={{action (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> |