title: Livewire: problem whit display data and form
body: <p>I have problem with display data and form on one page.
  Display data from database disappear after write in textarea any word. The same problem ist when i click on submit. In debugger is only data from first query, from second is cleared.
  I try with one query (second), but it's the same.</p>
  <p>My example code</p>
  <ul>
  <li><p>route web:</p>
  <pre><code> Route::middleware(['auth:sanctum', 'verified'])-&gt;get('/tickets/show/{slug}', Tickets\Show::class)-&gt;name('tickets.show');
  </code></pre>
  </li>
  </ul>
  <p>Livewire:</p>
  <pre><code>public $ticket;
  public $slug;
  public $posts;
  public $content_post;
  public  $ticket_id;
  
  public function mount($slug){
      $this-&gt;ticket = Tickets::where('tickets.id','=', $slug)-&gt;join('users', 'users.id', '=', 'tickets.user_id')
          -&gt;select('users.email','users.phone','users.username','users.first_name','users.last_name','tickets.user_id','tickets.created_at',
              'tickets.id', 'tickets.subject','tickets.status_id','tickets.admin_id')-&gt;first();
      $this-&gt;posts = TicketsPost::where('tickets_posts.ticket_id','=', $slug)-&gt;join('users', 'users.id', '=', 'tickets_posts.user_id')
          -&gt;select('users.email','users.username','users.first_name','users.last_name','tickets_posts.user_id','tickets_posts.created_at',
              'tickets_posts.ticket_id','tickets_posts.post')-&gt;get();
  }
  public function addPost()
  {
  
      $this-&gt;validate([
          'content_post' =&gt; 'required'
      ]);
      $user_id = Auth::user()-&gt;getAuthIdentifier();
  
    
          TicketsPost::create([
              'ticket_id' =&gt; $this-&gt;ticket_id,
              'user_id' =&gt; $user_id,
              'post' =&gt; $this-&gt;content_post,
          ]);
     
  
  
  }
  public function render()
  {
  
      return view('livewire.tickets.show');
  }
  </code></pre>
  <ul>
  <li><p>View:</p>
  <pre><code>  &lt;p &gt;#{{$ticket-&gt;id}}&lt;/p&gt;
                        &lt;p &gt;{{$ticket-&gt;subject}}&lt;/p&gt;
  
                    @foreach($posts as $post)
  
                                    &lt;p &gt;{{$post-&gt;first_name}}  {{$post-&gt;last_name}}&lt;/p&gt;
                                    &lt;p &gt;{{ date('d.m.Y H:i',strtotime($post-&gt;created_at)) }}&lt;/p&gt;
                                &lt;p &gt; {{$post-&gt;post}}&lt;/p&gt;
                    @endforeach
  
  
                        &lt;form  &gt;
                            &lt;input type=&quot;hidden&quot; name=&quot;ticket_id&quot; value=&quot;2&quot;  wire:model=&quot;ticket_id&quot;&gt;
                            &lt;textarea  name=&quot;content_post&quot;
                                      class=&quot;&quot;
                                      rows=&quot;5&quot; required=&quot;&quot; placeholder=&quot;Treść wiadomości&quot; wire:model=&quot;content_post&quot;&gt;&lt;/textarea&gt;
                                    @error('content_post') &lt;span class=&quot;text-red-500&quot;&gt;{{ $message }}&lt;/span&gt;@enderror
                                    &lt;button wire:click.prevent=&quot;addPost()&quot; type=&quot;submit&quot; class=&quot;&quot;&gt;
                                        &lt;span id=&quot;btn_text&quot; class=&quot;ml-2&quot;&gt;Dodaj&lt;/span&gt;
                                    &lt;/button&gt;
                        &lt;/form&gt;
  </code></pre>
  </li>
  </ul>