Also disabled radio and check inputs

This commit is contained in:
Conor_Mack 2020-02-24 11:50:20 +00:00
parent 80d46987eb
commit 681b1edc7a
1 changed files with 2 additions and 2 deletions

View File

@ -49,9 +49,9 @@
{#if inputElement}
{#if inputElement === 'radiobutton'}
<Radiobutton checked={item.selected} />
<Radiobutton checked={item.selected} disabled={item.disabled} />
{:else if inputElement === 'checkbox'}
<Checkbox checked={item.selected} />
<Checkbox checked={item.selected} disabled={item.disabled} />
{/if}
{:else if item.trailingIcon}
<!-- TODO: Adapt label to accept class prop to handle this. Context is insufficient -->