Merge pull request #124 from Conor-Mack/bugfix/disable-list-item
Also disabled radio and check inputs
This commit is contained in:
commit
bd225d1eac
|
@ -49,9 +49,9 @@
|
||||||
|
|
||||||
{#if inputElement}
|
{#if inputElement}
|
||||||
{#if inputElement === 'radiobutton'}
|
{#if inputElement === 'radiobutton'}
|
||||||
<Radiobutton checked={item.selected} />
|
<Radiobutton checked={item.selected} disabled={item.disabled} />
|
||||||
{:else if inputElement === 'checkbox'}
|
{:else if inputElement === 'checkbox'}
|
||||||
<Checkbox checked={item.selected} />
|
<Checkbox checked={item.selected} disabled={item.disabled} />
|
||||||
{/if}
|
{/if}
|
||||||
{:else if item.trailingIcon}
|
{:else if item.trailingIcon}
|
||||||
<!-- TODO: Adapt label to accept class prop to handle this. Context is insufficient -->
|
<!-- TODO: Adapt label to accept class prop to handle this. Context is insufficient -->
|
||||||
|
|
Loading…
Reference in New Issue