fix(switch): render function methods not slots
This commit is contained in:
parent
7856500117
commit
40394bcb9d
1 changed files with 2 additions and 4 deletions
|
|
@ -26,11 +26,9 @@ export class LionInputSwitch extends ChoiceInputMixin(LionField) {
|
||||||
render() {
|
render() {
|
||||||
return html`
|
return html`
|
||||||
<div class="input-switch__container">
|
<div class="input-switch__container">
|
||||||
<slot name="label"></slot>
|
${this.labelTemplate()} ${this.helpTextTemplate()} ${this.feedbackTemplate()}
|
||||||
<slot name="help-text"></slot>
|
|
||||||
<slot name="feedback"></slot>
|
|
||||||
</div>
|
</div>
|
||||||
<slot name="input"></slot>
|
${this.inputGroupTemplate()}
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue