From 77dfce11861446226e50260287ac99b07806ac19 Mon Sep 17 00:00:00 2001 From: Harvey Lee Date: Thu, 3 Feb 2022 17:01:41 +1100 Subject: [PATCH] Add Function to Column prop field types To match the Typescript types added in #1078 and not trigger Vue's "Invalid prop" warnings. --- src/components/column/Column.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/column/Column.vue b/src/components/column/Column.vue index 752f2b305..0c2ed52ff 100755 --- a/src/components/column/Column.vue +++ b/src/components/column/Column.vue @@ -7,7 +7,7 @@ export default { default: null }, field: { - type: String, + type: [String, Function], default: null }, sortField: { @@ -15,7 +15,7 @@ export default { default: null }, filterField: { - type: String, + type: [String, Function], default: null }, dataType: {