Bagmaz
10 months ago
250
3
Vue

Uncaught DOMException: Failed to execute 'querySelector'

Posted 10 months ago by Bagmaz

Help

<button type="button"
                            class="btn btn-primary"
                            v-for="personnel in activePersonnel"
                            @click="getSelectedPersonnel(personnel)"
                            :disabled="selectedPersonnel === personnel.personnel"
>
    {{ personnel.name }}
</button>
                                
methods: {
    getSelectedPersonnel($personnel) {
                this.booking.hairdresser = $personnel;
                this.getPersonnelWebService();
                this.fetchCalender();
                this.selectedPersonnel = $personnel.personnel;
            },

    //...
}

Uncaught DOMException: Failed to execute 'querySelector' on 'Document': 'http://example.com' is not a valid selector.

Where is my mistake?

Please sign in or create an account to participate in this conversation.