2022-07-06 01:41:31 +08:00
|
|
|
{{#if this.setting.textarea}}
|
2022-07-06 16:37:54 +08:00
|
|
|
<Textarea @value={{this.value}} class="input-setting-textarea" />
|
2022-07-06 01:41:31 +08:00
|
|
|
{{else if this.isSecret}}
|
2024-03-18 06:50:39 +08:00
|
|
|
<Input
|
|
|
|
@type="password"
|
|
|
|
@value={{this.value}}
|
|
|
|
class="input-setting-string"
|
|
|
|
autocomplete="new-password"
|
|
|
|
/>
|
2017-07-18 04:38:26 +08:00
|
|
|
{{else}}
|
2022-07-06 01:41:31 +08:00
|
|
|
<TextField @value={{this.value}} @classNames="input-setting-string" />
|
2017-07-18 04:38:26 +08:00
|
|
|
{{/if}}
|
|
|
|
|
2022-07-06 01:41:31 +08:00
|
|
|
<SettingValidationMessage @message={{this.validationMessage}} />
|
2024-03-13 12:38:21 +08:00
|
|
|
<SiteSettings::Description @description={{this.setting.description}} />
|