diff --git a/bun.lockb b/bun.lockb index dacbd6c63..a3ae1b76d 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index eb9a004c2..01c2be0ea 100644 --- a/package.json +++ b/package.json @@ -195,5 +195,8 @@ } } ] + }, + "patchedDependencies": { + "@gouvfr/dsfr@1.12.1": "patches/@gouvfr%2Fdsfr@1.12.1.patch" } } diff --git a/patches/@gouvfr%2Fdsfr@1.12.1.patch b/patches/@gouvfr%2Fdsfr@1.12.1.patch new file mode 100644 index 000000000..cd69bef22 --- /dev/null +++ b/patches/@gouvfr%2Fdsfr@1.12.1.patch @@ -0,0 +1,16 @@ +index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 +diff --git a/dist/component/table/table.module.js b/dist/component/table/table.module.js +index 5d61112f0cdc60ec85adc0c1a39ddabca4c332d2..0de2a3fadaaec783903def5084c4c77add3fc723 100644 +--- a/dist/component/table/table.module.js ++++ b/dist/component/table/table.module.js +@@ -157,7 +157,9 @@ class TableRow extends api.core.Instance { + } + + _handleCheckboxChange (node) { +- if (node.name === 'row-select') { ++ if (node.name === 'row-select' || ++ node.getAttribute(api.internals.ns.attr('row-select')) === 'true' ++ ) { + this.isSelected = node.checked === true; + } + }