Skip to content

Commit 015be67

Browse files
committed
rename inputID to rowId
1 parent ba6b1b3 commit 015be67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/mdc/Datatable/DatatableCheckbox.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { createEventDispatcher, onMount } from 'svelte'
33
44
export let disabled = false
5-
export let inputID = ''
5+
export let rowId = ''
66
77
onMount(() => dispatch('mounted'))
88
@@ -11,7 +11,7 @@ const dispatch = createEventDispatcher()
1111

1212
<td class="mdc-data-table__cell mdc-data-table__cell--checkbox" on:click>
1313
<div class="mdc-checkbox mdc-data-table__row-checkbox">
14-
<input type="checkbox" class="mdc-checkbox__native-control" aria-labelledby={inputID} {disabled} />
14+
<input type="checkbox" class="mdc-checkbox__native-control" aria-labelledby={rowId} {disabled} />
1515
<div class="mdc-checkbox__background">
1616
<svg class="mdc-checkbox__checkmark" viewBox="0 0 24 24">
1717
<path class="mdc-checkbox__checkmark-path" fill="none" d="M1.73,12.91 8.1,19.28 22.79,4.59" />

0 commit comments

Comments
 (0)