Skip to content

Commit

Permalink
Merge pull request #5637 from bdh92123/master
Browse files Browse the repository at this point in the history
Fixed #5372: DataTable: Modifying value of expendedRow is n…
  • Loading branch information
tugcekucukoglu authored Apr 24, 2024
2 parents 3aae749 + 0f33cc7 commit 76c0c37
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 76c0c37

Please sign in to comment.