mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
feat(data-table): allow custom inputName
for radio/checkbox (#2087)
Closes #2085
This commit is contained in:
parent
b4ae19e8e7
commit
7481b9a995
6 changed files with 85 additions and 30 deletions
|
@ -12,8 +12,20 @@
|
|||
];
|
||||
</script>
|
||||
|
||||
<DataTable radio {headers} {rows} />
|
||||
<DataTable radio {headers} {rows} />
|
||||
<DataTable inputName="radio-select" radio {headers} {rows} />
|
||||
<DataTable inputName="radio-select" radio {headers} {rows} />
|
||||
|
||||
<DataTable batchSelection selectable {headers} {rows} />
|
||||
<DataTable batchSelection selectable {headers} {rows} />
|
||||
<DataTable
|
||||
inputName="checkbox-select"
|
||||
batchSelection
|
||||
selectable
|
||||
{headers}
|
||||
{rows}
|
||||
/>
|
||||
<DataTable
|
||||
inputName="checkbox-select"
|
||||
batchSelection
|
||||
selectable
|
||||
{headers}
|
||||
{rows}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue