title: The @error not showing the Errors in Laravel
body: <p>In Blade, not showing the single <code>@error</code> but in <code>@foreach ($errors-&gt;all() as $error)</code> showing all errors.
  this is the validation</p>
  <pre><code>public function updateAthlete(){
          $pass = Hash::make($this-&gt;password);
          $info = Athlete::find($this-&gt;athlete_id);
      if($this-&gt;profile_photo_path){
          File::delete('storage/' . $this-&gt;filePath);
          $this-&gt;filePath = $this-&gt;profile_photo_path-&gt;store('AthletesProfile', 'public');
      }
  
      $this-&gt;validate([
          'name'               =&gt;'required|max:70|min:3',
          'name_fa'            =&gt;'required|max:70|min:3',
          'name_pa'            =&gt;'required|max:70|min:3',
      ]);
      
      $info-&gt;update([
          'name'               =&gt; $this-&gt;name,
          'name_fa'            =&gt; $this-&gt;name_fa,
          'name_pa'            =&gt; $this-&gt;name_pa,
     ]);
  
     session()-&gt;flash('updated', 'Post successfully updated.');
  
  }
  </code></pre>
  <p>and this is the form</p>
  <pre><code>&lt;div class=&quot;form-group form-group-default&quot;&gt;
      &lt;label&gt;Name in Farsi&lt;/label&gt;
      &lt;input type=&quot;text&quot; class=&quot;form-control&quot; dir=&quot;RTL&quot; wire:model=&quot;name_fa&quot;&gt;
    @error('name_fa') &lt;span class=&quot;error&quot; style=&quot;color:red&quot;&gt;{{ $message }}&lt;/span&gt; @enderror
  &lt;/div&gt;
  </code></pre>
  <p>it didn't show any error in the console or it's not about styling</p>