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
380 B
Handlebars
Raw Normal View History

<input
{{on "input" (with-event-value (fn (mut this.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}} />
<SiteSettings::Description @description={{this.setting.description}} />