From 6b70d35fcd758ac15f14bf46e86eff416a710e6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane?= Date: Wed, 6 Sep 2023 20:13:27 +0200 Subject: [PATCH] Fix vue.js warning for DataTable with dataKey as a function Complete initiated work on https://github.com/primefaces/primevue/pull/2595 --- components/lib/datatable/TableBody.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/datatable/TableBody.vue b/components/lib/datatable/TableBody.vue index 89a0316e5..764dc7daa 100755 --- a/components/lib/datatable/TableBody.vue +++ b/components/lib/datatable/TableBody.vue @@ -190,7 +190,7 @@ export default { default: 0 }, dataKey: { - type: String, + type: [String, Function], default: null }, expandedRowIcon: {