2.10.0 element-ui-common.js Cannot read property 'disabled' of null at VueComponent.hide
Chrome console error
element-ui.common.js:2330 Uncaught TypeError: Cannot read property 'disabled' of null
at VueComponent.hide (element-ui.common.js:2330)
at Object.documentHandler (clickoutside.js:39)
at clickoutside.js:25
at Array.forEach (
at HTMLDocument.
Firefox console error
TypeError: this.triggerElm is null[Saber más] element-ui.common.js:2330
hide
element-ui.common.js:2330
hide self-hosted:981:17 createDocumentHandler/<
clickoutside.js:39
./node_modules/element-ui/lib/utils/clickoutside.js/<
clickoutside.js:25
forEach self-hosted:268:13 ./node_modules/element-ui/lib/utils/clickoutside.js/<
clickoutside.js:24
Hello, this issue has been closed because it does not conform to our issue requirements. Please submit issues with issue-generator. More info can be found in #3693.
I am also facing this issue since I updated from 2.10.0 element.
Here is the screenshot:
It is showing everywhere, even if I click to el-card or other elements.
Same here. The code where it is called is here.
Can't see anything obviously wrong in the source.
Ok the issue in my code was that I had an <el-dropdown>
with no child <el-dropdown-items>
. Trivial repro: put this in your components:
<el-dropdown />
+1. We were missing a dropdown slot on one of our el-dropdown
which was resulting in any el-select or dropdown not working on our app.
Adding the following fixed it
<el-dropdown-menu slot="dropdown" />
hello,is there anyone having solved it?
+1.I have add the follow but no work:
<el-dropdown-menu slot="dropdown" />
Did you find a solution @dolphinfine ?
@androidfanatic I did it, it solved the "disabled" error, but I can't find any el-option in my el-select since there is this error..
@maximesahagian did you find any solution?
@jeffysam6 yes, it came from Jquery conflict, I had to remove Jquery from my VueJS app
Most helpful comment
Ok the issue in my code was that I had an
<el-dropdown>
with no child<el-dropdown-items>
. Trivial repro: put this in your components: