You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got a datatable which has a checkbox as one of it's columns (or multiple columns with a checkbox in this example, though the same happens with just 1 column with a checkbox. Here's a simplified version:
When I select one of the checkboxes, I see the following error in console:
balm-ui.esm.js:1 Uncaught TypeError: Cannot read properties of undefined (reading '0')
at Object.isCheckboxAtRowIndexChecked (balm-ui.esm.js:1)
at e.handleRowCheckboxChange (balm-ui.esm.js:1)
at HTMLTableSectionElement.handleRowCheckboxChange (balm-ui.esm.js:1)
However, if I add the row-checkbox property onto the data-table, like so:
<ui-table:data="requestData" :thead="thead" :tbody="tbody" fullwidth><template#enabled="{ data }"><ui-radiov-model="enabled" :value="data.value"></ui-radio></template><template#selectToAdd="{ data }"><ui-checkboxv-model="add" :value="data.value"></ui-checkbox></template></ui-table>
Hi,
I've got a datatable which has a checkbox as one of it's columns (or multiple columns with a checkbox in this example, though the same happens with just 1 column with a checkbox. Here's a simplified version:
data:
When I select one of the checkboxes, I see the following error in console:
balm-ui.esm.js:1 Uncaught TypeError: Cannot read properties of undefined (reading '0')
at Object.isCheckboxAtRowIndexChecked (balm-ui.esm.js:1)
at e.handleRowCheckboxChange (balm-ui.esm.js:1)
at HTMLTableSectionElement.handleRowCheckboxChange (balm-ui.esm.js:1)
However, if I add the row-checkbox property onto the data-table, like so:
The error now goes away, though i'm left with a set of checkboxes on the left of the datatable which I don't want.
I'm assuming this is a bug, can it be resolved?
Cheers.
The text was updated successfully, but these errors were encountered: