merge(['class' => 'form-control w-full', 'type' => 'text'])->class(['border-danger' => $errors->has($name ?? '')]) }} type="text">