Skip to content

[Bug Report][2.6.0] v-data-table header value issue for restricted property as "constructor" or "toString" #14425

Closed
@BOISSARD

Description

Environment

Vuetify Version: 2.6.0
Vue Version: 2.6.10
Browsers: Chrome 95.0.4638.69
OS: Windows 10

Steps to reproduce

Can't display a restricted property of an object as "constructor" or "toString".
In chrome we get the error explanation :
Duplicate keys detected: 'constructor'. This may cause an update error.

Expected Behavior

to get the correct information in the cell

Actual Behavior

"undefined" in header and column's cells

Reproduction Link

https://codepen.io/Klimoun/pen/eYEamWw

Metadata

Assignees

Labels

C: VDataTableT: bugFunctionality that does not work as intended/expected

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions