2022-07-27 09:23:01 +08:00
|
|
|
<label class="wizard-container__label">
|
2023-11-14 03:02:14 +08:00
|
|
|
<PluginOutlet
|
|
|
|
@name="wizard-checkbox"
|
|
|
|
@outletArgs={{hash disabled=this.field.disabled}}
|
|
|
|
>
|
|
|
|
<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>
|
|
|
|
</PluginOutlet>
|
|
|
|
|
2022-08-27 05:03:30 +08:00
|
|
|
<PluginOutlet
|
|
|
|
@name="below-wizard-checkbox"
|
2023-01-31 20:58:31 +08:00
|
|
|
@outletArgs={{hash disabled=this.field.disabled}}
|
2022-08-27 05:03:30 +08:00
|
|
|
/>
|
2019-04-11 22:55:08 +08:00
|
|
|
</label>
|