mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
Revert RadioTile tabindex
This commit is contained in:
parent
ce8e0b234e
commit
ef76f2cb58
4 changed files with 10 additions and 32 deletions
|
@ -20,9 +20,6 @@
|
|||
/** Specify a name attribute for the input */
|
||||
export let name = "";
|
||||
|
||||
/** Obtain a reference to the input HTML element */
|
||||
export let ref = null;
|
||||
|
||||
import { getContext } from "svelte";
|
||||
import CheckmarkFilled16 from "carbon-icons-svelte/lib/CheckmarkFilled16";
|
||||
|
||||
|
@ -34,13 +31,12 @@
|
|||
</script>
|
||||
|
||||
<input
|
||||
bind:this="{ref}"
|
||||
type="radio"
|
||||
id="{id}"
|
||||
name="{name}"
|
||||
value="{value}"
|
||||
checked="{checked}"
|
||||
tabindex="-1"
|
||||
tabindex="{tabindex}"
|
||||
class:bx--tile-input="{true}"
|
||||
on:change
|
||||
on:change="{() => {
|
||||
|
@ -56,7 +52,6 @@
|
|||
/>
|
||||
<label
|
||||
for="{id}"
|
||||
tabindex="{tabindex}"
|
||||
class:bx--tile="{true}"
|
||||
class:bx--tile--selectable="{true}"
|
||||
class:bx--tile--is-selected="{checked}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue