Skip to content

Commit

Permalink
fix(VDataTable): cast boolean values to string
Browse files Browse the repository at this point in the history
fixes #17810
  • Loading branch information
KaelWD committed Sep 25, 2023
1 parent 871d2d8 commit 3759243
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vuetify/src/labs/VDataTable/VDataTableRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { useSelection } from './composables/select'
import { VDataTableColumn } from './VDataTableColumn'

// Utilities
import { withModifiers } from 'vue'
import { toDisplayString, withModifiers } from 'vue'
import { defineComponent, getPropertyFromItem, propsFactory, useRender } from '@/util'

// Types
Expand Down Expand Up @@ -88,7 +88,7 @@ export const VDataTableRow = defineComponent({
)
}

return getPropertyFromItem(item.columns, column.key)
return toDisplayString(getPropertyFromItem(item.columns, column.key))
},
}}
</VDataTableColumn>
Expand Down

0 comments on commit 3759243

Please sign in to comment.