php 7.4 fix

This commit is contained in:
denisdulici
2020-01-19 01:34:27 +03:00
parent ecdbc74f29
commit dd564ab3b6
16 changed files with 18 additions and 18 deletions

View File

@ -12,7 +12,7 @@
{{ Form::checkbox($name, $item->$id, null, [
'id' => 'checkbox-' . $name . '-' . $item->$id,
'class' => 'custom-control-input',
'v-model' => !empty($attributes['v-model']) ? $attributes['v-model'] : !empty($attributes['data-field']) ? 'form.' . $attributes['data-field'] . '.'. $name : 'form.' . $name
'v-model' => !empty($attributes['v-model']) ? $attributes['v-model'] : (!empty($attributes['data-field']) ? 'form.' . $attributes['data-field'] . '.'. $name : 'form.' . $name),
]) }}
<label class="custom-control-label" for="checkbox-{{ $name . '-' . $item->$id}}">