-
-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug Report][3.3.8] VDataTable - Boolean values are not shown in table #17810
Comments
Yes this is correct behaviour. because component recognize only strings. IN this case to display boolean just contert to string. This is not a bug |
|
I'm not certain about the date example but similarly with an int/number object it displays just fine in the table. Why is that? Why can't that happen for boolean values? |
if you want to get more details and how works code you can open source code and check. |
Currently, nothing displays for boolean values... so this does kind of seem like a bug (not just a feature request). From past responses to this issue, it appears the intent is to have custom icons displayed for Workaround 1: Custom Templates Per Property/Column
Workaround 2: Convert Boolean Values to String Values Possible Enhancement:
This approach could provide an internal mechanism to display a value for boolean properties by default... and also allow them to be customized. |
Environment
Vuetify Version: 3.3.8
Vue Version: 3.3.4
Browsers: Chrome 114.0.0.0
OS: Windows 10
Steps to reproduce
Create an array items for a v-data-table that has a boolean value and see that the boolean is blank in the table view.
Expected Behavior
expect to see true/false or some form of radio/checkbox or some way to view the boolean value in the table
Actual Behavior
Column with boolean value is blank all the way through
Reproduction Link
https://play.vuetifyjs.com/#...
The text was updated successfully, but these errors were encountered: