From 40394bcb9dfdb081917a762790c397d1d0302106 Mon Sep 17 00:00:00 2001 From: Alex Ghiu Date: Wed, 23 Oct 2019 18:01:40 +0200 Subject: [PATCH] fix(switch): render function methods not slots --- packages/switch/src/LionInputSwitch.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/switch/src/LionInputSwitch.js b/packages/switch/src/LionInputSwitch.js index 9ba3fbe22..b4f671c3e 100644 --- a/packages/switch/src/LionInputSwitch.js +++ b/packages/switch/src/LionInputSwitch.js @@ -26,11 +26,9 @@ export class LionInputSwitch extends ChoiceInputMixin(LionField) { render() { return html`
- - - + ${this.labelTemplate()} ${this.helpTextTemplate()} ${this.feedbackTemplate()}
- + ${this.inputGroupTemplate()} `; }