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() {
|
||||
return html`
|
||||
<div class="input-switch__container">
|
||||
<slot name="label"></slot>
|
||||
<slot name="help-text"></slot>
|
||||
<slot name="feedback"></slot>
|
||||
${this.labelTemplate()} ${this.helpTextTemplate()} ${this.feedbackTemplate()}
|
||||
</div>
|
||||
<slot name="input"></slot>
|
||||
${this.inputGroupTemplate()}
|
||||
`;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue