discourse/app/assets/javascripts/admin/addon/components/site-settings/enum.hbs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
444 B
Handlebars
Raw Normal View History

<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>