mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Fixed primefaces#5372: DataTable: Modifying value of expendedRow is not reflected
This commit is contained in:
parent
b2a4af2fce
commit
0f33cc7fed
1 changed files with 1 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue