Vuetify: 1.0.0
Vue: 2.5.13
Browsers: Chrome 63.0.3239.132
OS: Windows 10
Visit reproduction link, view Console for error.
For comparison, here's a v-data-table with a single empty header cell (which is error-less): https://codepen.io/cdwyer/pen/EQvmQv
No errors/warning (ie, unique keys).
Vue throws a "duplicate keys" warning:
"[Vue warn]: Duplicate keys detected: ''. This may cause an update error.
https://codepen.io/cdwyer/pen/RQZVge
This is only an issue on tables where you have two or more headerless columns. Probably most applicable for avatars, buttons, etc.鈥攁ny element where the row itself provides context and a header isn't needed. Ideally, either an option to mark a header (in a data-based headers object) as empty, or just have Vuetify handle the creation of a random/unique key, if the text is left empty.
Just don't define text in the headers prop,
@johnleider oh perfect. Didn't realize that was an option...might be worth mentioning in the docs but regardless, thanks for pointing that out!
Most helpful comment
Just don't define text in the headers prop,
https://codepen.io/johnjleider/pen/QQMqeE?editors=1111