Bulk action permission fixed and badge style.

This commit is contained in:
Cüneyt Şentürk
2020-02-13 16:37:27 +03:00
parent 0db2bffd03
commit 4fe77ea76c
15 changed files with 104 additions and 41 deletions

View File

@ -1,7 +1,12 @@
@stack($name . '_input_start')
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="bulk-action-{{ $id }}" data-bulk-action="{{ $id }}"
<input type="checkbox" class="custom-control-input" id="bulk-action-{{ $id }}"
@if (isset($attributes['disabled']))
:disabled="{{ ($attributes['disabled']) ? true : false }}"
@else
data-bulk-action="{{ $id }}"
@endif
:value="{{ $id }}"
v-model="{{ !empty($attributes['v-model']) ? $attributes['v-model'] : 'bulk_action.selected' }}"
v-on:change="onSelect">