diff --git a/packages/materialdesign-components/src/Checkbox/Checkbox.svelte b/packages/materialdesign-components/src/Checkbox/Checkbox.svelte index bfe861f373..2f8b55bcf2 100644 --- a/packages/materialdesign-components/src/Checkbox/Checkbox.svelte +++ b/packages/materialdesign-components/src/Checkbox/Checkbox.svelte @@ -1,5 +1,5 @@ -
  • +
  • {#if leadingIcon} - {#if inputElement} - {#if inputElement === 'radiobutton'} - - {:else if inputElement === 'checkbox'} - + {#if listProps} + {#if listProps.inputElement === 'radiobutton'} + + {:else if listProps.inputElement === 'checkbox'} + {/if} {:else if trailingIcon} diff --git a/packages/materialdesign-components/src/Radiobutton/Radiobutton.svelte b/packages/materialdesign-components/src/Radiobutton/Radiobutton.svelte index 9b4c475241..cb83f88d40 100644 --- a/packages/materialdesign-components/src/Radiobutton/Radiobutton.svelte +++ b/packages/materialdesign-components/src/Radiobutton/Radiobutton.svelte @@ -1,10 +1,11 @@