@if (!$attributes->get('noLabel',false)) @if ($type === "file") @else @endif @endif @php($attributes = $attributes->merge(['name'=>($name.($attributes->get('multiple')?'[]':'')) , 'class'=> ( (optional($errors->{$bag})->first($name,$bag)) ? ' is-invalid ':'' ) ,'id'=> uniqid('ID',false) ])) @if (in_array($type,$allowedTypes)) merge(['class' => ' form-control '.($errors->first($name,$bag) ? ' is-invalid ':'')]) }} {{ $vue ? 'v-model="'.$name.'"' : '' }} aria-describedby="helpId{{$name}}"> @elseif ($type==='textarea') @elseif ($type=='select') @once @push('js') @endpush @push('css') @endpush @endonce @push('js') @endpush @endif