Fixed primefaces#5372: DataTable: Modifying value of expendedRow is not reflected

pull/5637/head
Baek 2024-04-24 12:42:16 +09:00
parent b2a4af2fce
commit 0f33cc7fed
1 changed files with 1 additions and 0 deletions

View File

@ -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));