mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
Move tabindex to input element
This commit is contained in:
parent
21f75afdca
commit
5a11a493dd
1 changed files with 1 additions and 2 deletions
|
@ -46,7 +46,7 @@
|
||||||
<input
|
<input
|
||||||
bind:this="{ref}"
|
bind:this="{ref}"
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
tabindex="-1"
|
tabindex="{tabindex}"
|
||||||
class:bx--tile-input="{true}"
|
class:bx--tile-input="{true}"
|
||||||
checked="{selected}"
|
checked="{selected}"
|
||||||
id="{id}"
|
id="{id}"
|
||||||
|
@ -65,7 +65,6 @@
|
||||||
/>
|
/>
|
||||||
<label
|
<label
|
||||||
for="{id}"
|
for="{id}"
|
||||||
tabindex="{tabindex}"
|
|
||||||
class:bx--tile="{true}"
|
class:bx--tile="{true}"
|
||||||
class:bx--tile--selectable="{true}"
|
class:bx--tile--selectable="{true}"
|
||||||
class:bx--tile--is-selected="{selected}"
|
class:bx--tile--is-selected="{selected}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue