Skip to content

Commit

Permalink
Fixed primefaces#5372: DataTable: Modifying value of expendedRow is n…
Browse files Browse the repository at this point in the history
…ot reflected
  • Loading branch information
bdh92123 committed Apr 24, 2024
1 parent b2a4af2 commit 0f33cc7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/lib/datatable/BodyRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ export default {
},
watch: {
expandedRows: {
deep: true,
immediate: true,
handler(newValue) {
this.d_rowExpanded = this.dataKey ? newValue?.[ObjectUtils.resolveFieldData(this.rowData, this.dataKey)] !== undefined : newValue?.some((d) => this.equals(this.rowData, d));
Expand Down

0 comments on commit 0f33cc7

Please sign in to comment.