0

i'm trying to update the users email from an edit page, but when i try to include a Form field to email i get the error "Whoops, looks like something went wrong." in this one. All of the others works correctly.

Here is my code:

 {!! Form::label('email', 'E-mail', ['class' => 'col-sm-1 control-label']) !!}
        <div class="col-sm-3 ">
            {!! Form::email('email',null,['class' => 'form-control input-jqv', 'id' => 'email', 'autocomplete' =>
            'email' ]) !!}
        </div>
        @error('email')
        <span class="invalid-feedback d-block"> {{ $message }} </span>
        @enderror 

image of the problem

Marcin Nabiałek
  • 109,655
  • 42
  • 258
  • 291
Andre
  • 81
  • 6

1 Answers1

1

You haven't mentioned any additional packages so I assume you used some tutorial that uses such code but Laravel does not have Form builder included anymore.

You should install separate package using

composer require laravelcollective/html

to make those methods working

Marcin Nabiałek
  • 109,655
  • 42
  • 258
  • 291