Currently, I am attempting to use a link to trigger a Vue function with three arguments/parameters. Unfortunately, the setup does not seem to be working as expected. Previously, it was functioning fine with only a single parameter.
Here is my current code:
<td>
<a @click="delete('{{$detail->mainID}}, {{$detail->typeID }}, {{$detail->siteID}}')">Delete</a>
</td>
delete: function(mainID,typeID,siteID) {
...
}
I am seeking advice on how to correctly pass three arguments into my function. Any guidance would be greatly appreciated.