devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Uncaught TypeError: Cannot read properties of undefined (reading 'toLowerCase') at devtools-overlay.mjs:8:183129

Open mosessmax opened this issue 2 years ago • 9 comments

i get this error, as soon as i type into the input field, it goes away on refresh but shows up again as soon as i type in the input.

version: "vite-plugin-vue-devtools": "^7.3.1",

CleanShot 2024-07-10 at 14 51 33

mosessmax avatar Jul 10 '24 13:07 mosessmax

Can you provide a mini repo? Thanks

webfansplz avatar Jul 11 '24 00:07 webfansplz

I get the same error. I think it has to do with the autocomplete option. When I click and it fills out the form, that's when the error occurs.

<script setup lang="ts"></script>

<template>
  <input name="firstName" type="text" autocomplete="given-name" />
</template>

image image

r4g309 avatar Jul 12 '24 03:07 r4g309

I get the same error by clicking anywhere on the interface, but only on the first click. This happens in a Vue.js project that was created before adding the plugin. In a clean Vue.js project, I don't encounter the error.

phox081 avatar Jul 12 '24 07:07 phox081

I get the same error by clicking anywhere on the interface, but only on the first click. This happens in a Vue.js project that was created before adding the plugin. In a clean Vue.js project, I don't encounter the error.

it was a clean vue.js project, i selected the devtool plugin while scaffolding the project.

mosessmax avatar Jul 12 '24 07:07 mosessmax

I get the same error by clicking anywhere on the interface, but only on the first click. This happens in a Vue.js project that was created before adding the plugin. In a clean Vue.js project, I don't encounter the error.

it was a clean vue.js project, i selected the devtool plugin while scaffolding the project.

Can you share the repo to help us track it? Thanks.

webfansplz avatar Jul 12 '24 07:07 webfansplz

I cannot reproduce it, so if someone can provide a mini repo, it would be helpful.

webfansplz avatar Jul 12 '24 15:07 webfansplz

I cannot reproduce it, so if someone can provide a mini repo, it would be helpful.

Here is a reproduction: https://github.com/Deckluhm/vue-devtools-next

⚠️ Important to note that it seems to only happen on Chromium-based browsers, not on Firefox.

Deckluhm avatar Jul 12 '24 19:07 Deckluhm

Also, I forgot to mention that, as @r4g309 said, it seems to only happen when using an autocomplete suggestion.

Deckluhm avatar Jul 12 '24 22:07 Deckluhm

Fixed in v7.3.6

webfansplz avatar Jul 14 '24 15:07 webfansplz