Skip to content

Commit

Permalink
bug(ListView): Add type="button" to ListViewRowContent button children.
Browse files Browse the repository at this point in the history
NOTICKET
  • Loading branch information
Nahuel Alejandro Veron committed Nov 25, 2024
1 parent 7969e4e commit 4e8d5d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ListView/ListViewRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ function ListViewRow<D>({
{...(areItemsClickable
? {
as: 'button',
type: 'button',
onClick: () => {
setActiveRowId(row.id);
options.onRowClick({ row: row.original });
Expand Down

0 comments on commit 4e8d5d0

Please sign in to comment.