vue3-treeselect icon indicating copy to clipboard operation
vue3-treeselect copied to clipboard

It works but I get a warning [Vue warn]: Property "$createElement" was accessed during render but is not defined on instance.

Open jimmybsilva opened this issue 3 years ago • 14 comments

[Vue warn]: Property "$createElement" was accessed during render but is not defined on instance.

it seems to be working good I was just wondering if there is a way to fix that warning?

Thanks in advance.

jimmybsilva avatar Apr 28 '21 19:04 jimmybsilva

I'm same error!

gautam-patadiya avatar Apr 29 '21 13:04 gautam-patadiya

Same error. I think it's related to the use of JSX. Could you fix it @jimmybsilva @gautam-patadiya @megafetis ?

bosquig avatar Jun 07 '21 02:06 bosquig

@bosquig no buddy I didn't

gautam-patadiya avatar Jun 07 '21 04:06 gautam-patadiya

I have also encountered the same problem, whether there is a solution?

xgblack avatar Jul 03 '21 09:07 xgblack

I'm same error!

aehyok avatar Jul 08 '21 07:07 aehyok

Is there a fix for this?

dreamxyz95 avatar Aug 08 '21 05:08 dreamxyz95

[Vue warn] too much! I hava 5961 messages in console. Is there any replace version or other js ui?

zhangyuan0532 avatar Aug 18 '21 09:08 zhangyuan0532

To remove this error until it is fixed, find the vue3-treeselect.common.js file in your node_modules folder and then comment out all lines that have "var h = this.$createElement;". There should be 27 of them as of this post.

Sell24 avatar Aug 20 '21 01:08 Sell24

To remove this error until it is fixed, find the vue3-treeselect.common.js file in your node_modules folder and then comment out all lines that have "var h = this.$createElement;". There should be 27 of them as of this post.

Commented all of them on the code but the issue still shows up. image

jamols09 avatar Aug 30 '21 15:08 jamols09

To be honest it's been quite a while and the problem still exists. This is probably the best multiselect and only one with nested options I've ever used however its quite buggy. I really hope you give this some time so this would be fixed.

jamols09 avatar Aug 30 '21 15:08 jamols09

HI! some news about this? It seems e blocking bugs...

ftb avatar Sep 01 '21 08:09 ftb

Same issue guys.. hope they will fix it because it's a great library!

Anyway, I have temporarely disabled warnings with this code on main.js (using Vue3)

const app = createApp(App) app.config.errorHandler = () => null; app.config.warnHandler = () => null;

alessioraggioli avatar Sep 17 '21 14:09 alessioraggioli

Same issue guys.. hope they will fix it because it's a great library!

Anyway, I have temporarely disabled warnings with this code on main.js (using Vue3)

const app = createApp(App) app.config.errorHandler = () => null; app.config.warnHandler = () => null;

I dont think this is safe.

jamols09 avatar Sep 18 '21 15:09 jamols09

Same issue guys.. hope they will fix it because it's a great library! Anyway, I have temporarely disabled warnings with this code on main.js (using Vue3) const app = createApp(App) app.config.errorHandler = () => null; app.config.warnHandler = () => null;

I dont think this is safe.

Infact is not.. I think I'm going to switch to another tree library, because is not possible to go in production with these warnings..

alessioraggioli avatar Sep 20 '21 14:09 alessioraggioli