mirror of
https://github.com/discourse/discourse.git
synced 2025-01-26 07:03:00 +08:00
3a21618e4e
* FEATURE: allow wizard checkbox field to be disabled * Changes per review feedback
11 lines
392 B
Handlebars
11 lines
392 B
Handlebars
<label class="wizard-container__label">
|
|
<Input @type="checkbox" disabled={{this.field.disabled}} class="wizard-container__checkbox" @checked={{this.field.value}} />
|
|
<span class="wizard-container__checkbox-slider"></span>
|
|
{{#if this.field.icon}}
|
|
{{d-icon this.field.icon}}
|
|
{{/if}}
|
|
<span class="wizard-container__checkbox-label">
|
|
{{this.field.placeholder}}
|
|
</span>
|
|
</label>
|