Variable names conflicts in body of datagrid causing view action to producce exception is fixed
This commit is contained in:
parent
6f4aebe423
commit
ca95d1d595
|
|
@ -20,6 +20,7 @@ abstract class AbsGrid
|
|||
protected $massActions = [];
|
||||
protected $request;
|
||||
protected $parse;
|
||||
// protected $enableMassAction = false;
|
||||
// protected $gridName = null;
|
||||
|
||||
abstract public function prepareMassActions();
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<tr>
|
||||
<td>
|
||||
<span class="checkbox">
|
||||
<input type="checkbox" v-model="dataIds" @change="select" :value="{{ $record->{$index} }}">
|
||||
<input type="checkbox" v-model="dataIds" @change="select" value="{{ $record->{$index} }}">
|
||||
|
||||
<label class="checkbox-view" for="checkbox1"></label>
|
||||
</span>
|
||||
|
|
@ -11,9 +11,9 @@
|
|||
|
||||
@foreach($columns as $column)
|
||||
@php
|
||||
$index = explode('.', $column['index']);
|
||||
$indexName = explode('.', $column['index']);
|
||||
|
||||
$index = end($index);
|
||||
$indexName = end($indexName);
|
||||
@endphp
|
||||
|
||||
@if(isset($column['wrapper']))
|
||||
|
|
|
|||
|
|
@ -583,8 +583,6 @@
|
|||
|
||||
//triggered when any select box is clicked in the datagrid
|
||||
select() {
|
||||
console.log(this.dataIds);
|
||||
|
||||
this.allSelected = false;
|
||||
|
||||
this.massActionsToggle = true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue