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

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

11 lines
377 B
Handlebars
Raw Normal View History

<input
{{on "input" (action (mut this.value) value="target.value")}}
type="number"
value={{this.value}}
min={{if this.setting.min this.setting.min null}}
max={{if this.setting.max this.setting.max null}}
class="input-setting-integer"
/>
<SettingValidationMessage @message={{this.validationMessage}} />
<div class="desc">{{html-safe this.setting.description}}</div>