mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-26 04:58:53 +08:00
16 lines
No EOL
448 B
Handlebars
Vendored
16 lines
No EOL
448 B
Handlebars
Vendored
<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> |