Initially, I successfully pass a variable from the parent component to the slot of a child component where it is correctly displayed. However, when this variable changes in the parent, the change is not reflected in the child component. Below is my code snippet:
<template>
<div>
<v-client-table
:columns="columns"
v-model="data"
:options="options"
:class="{ 'ready' : isReady }"
>
<div slot="h__select">
<input type="checkbox" @change="selectAll($event)"
:checked="allSelected" />
</div>
....
The variable in question is "allSelected". How can I bind the "checked" attribute to the value of the "allSelected" variable? I have researched extensively but haven't found a solution. Any assistance would be greatly appreciated.