diff --git a/packages/materialdesign-components/src/Checkbox/Checkbox.svelte b/packages/materialdesign-components/src/Checkbox/Checkbox.svelte index bfe861f373..d02f2e83ad 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..f2fce510d1 100644 --- a/packages/materialdesign-components/src/Radiobutton/Radiobutton.svelte +++ b/packages/materialdesign-components/src/Radiobutton/Radiobutton.svelte @@ -1,10 +1,11 @@