@props(['name', 'label' => null, 'value' => null, 'type' => 'text', 'helperText' => null]) @if ($label) @endif merge([ 'class' => 'form-control next-input' . ($errors->has($name) ? ' is-invalid' : ''), 'name' => $name, 'id' => $name, ]) }} > @if ($helperText) {{ Form::helper($helperText) }} @endif {{ $slot }}