0๐
โ
<b-form-group class="mb-0 mt-3" label-cols-lg="4">
<button
:disabled="form.ProjectNumber ==null || form.ProjectNumber == ''"
class="w-100 btn btn-danger"
size="sm"
@click="RemoveProjectQuestion"
>
Remove Project
</button>
I Solve It
0๐
You may try some thing like this in your button element
v-bind:class="[condition ? {classA} : {classB}]"
If your condition gets true add disabled class else you can pass active class to it
or vice versa based on your condition provided
Source:stackexchange.com