Completed
Last Updated: 19 Mar 2020 14:24 by ADMIN
Erik
Created on: 21 Nov 2019 16:58
Category:
Type: Bug Report
5
Native Grid: Setting a cell template using component throws Vue warnings in the console

I'm submitting a...

  • Bug report

Current behavior

When defining a custom cell template by defining a new Vue component few Vue warnings appear in the console. Here are the errors:

  • [Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "dataItem"
  • [Vue warn]: $listeners is read-only.

Expected behavior

There should be any errors in the console when defining a cell template using a Vue component.

Minimal reproduction of the problem with instructions

  1. Open this Dojo example
  2. Sort the Grid by any column
  3. See the browser's console

Environment

Package versions: kendo-vue-grid 0.3.7 loaded via CDN

0 comments