Closed maarteNNNN closed 2 years ago
Hi @maarteNNNN! 👋
It looks like you provided an invalid or unsupported reproduction URL. Do not use any service other than Codepen, jsFiddle, Codesandbox, and GitHub. Make sure the URL you provided is correct and reachable. You can test it by visiting it in a private tab, another device, etc. Please edit your original post above and provide a valid reproduction URL as explained.
Without a proper reproduction, your issue will have to get closed.
Thank you for your collaboration. 👏
I have same problem with Quasar
I resolve this problem. Your property 'product' is Array. That call recursive update and crashes project in production. You can use function format
in columns.
For example
const columns = [
{ name: 'description', label: 'description', field: 'description' },
{ name: 'class', label: 'class', field: 'class' },
{ name: 'creator', label: 'creator', field: 'creator' },
{ name: 'products', label: 'products', field: 'products', format: (val) => val.reduce((acc, curr) => acc + curr.product, '') },
];
I had a same problem. Thank you @TonyMale for solution.
another way is to use 'item' slot to override built-in rendering method
What happened?
I tried making a Codepen with an example however it's only happening in the Quasar CLI . I'm getting recursive errors of
Vue warn]: Invalid VNode type: undefined (undefined)
on both examples (one is commented). Until finally the a warning pops:NOTE: This is done with the Quasar CLI with Typescript. I tried to minimize the problem. The template is an exact copy of Selection cell slots. I tried this in a bare minimum project with Typescript.
EDIT: Seems I could make it so the Codepen is acting weird as well. However it's not showing the same warnings... It simply loads sometimes, other times it doesn't.
What did you expect to happen?
To load the app without the warning.
Reproduction URL
https://codepen.io/maarteNNNN/pen/podWPNW?editors=101
How to reproduce?
Then just copy paste the example in
Index.vue
Flavour
Quasar CLI (@quasar/cli | @quasar/app)
Areas
Components (quasar)
Platforms/Browsers
Chrome
Quasar info output
Relevant log output