Uncaught (in promise) TypeError: selfHook.call is not a function

4.3k Views Asked by At

I am using Vue-Multiple Select package for Multiple Select Options.

https://vue-multiselect.js.org/#sub-getting-started

After following their instruction I am getting an Error.

enter image description here

Very Unknown Error to me. What I have missed?!

2

There are 2 best solutions below

3
On

i Don't know is it right or wrong but you can delete vue-performance extension..This is a workaround for me and then check.If it still remain you can tell me i will delete the answere....

0
On

I reproduced the problem. If hooks are used as property instead of functions.

Bug generated:

const VerificaSezioniConfig = {
    delimiters:['[[',']]'],
    data(){
        return{
            sezioni:[1,2]
        }
    },
    mounted:{}
}

No Bug:

const VerificaSezioniConfig = {
    delimiters:['[[',']]'],
    data(){
        return{
            sezioni:[1,2]
        }
    },
    mounted(){}
}