Answer the question
In order to leave comments, you need to log in
How can Laravel livewire hide the list when no input is active?
Using livewire in Laravel 7
<input type="text" wire:model="query">
<ul>
@foreach($tops as $top)
<li>
<p>
{{ $top->Name }}
</p>
</li>
@endforeach
</ul>
Answer the question
In order to leave comments, you need to log in
Jquery to help you - https://basicweb.ru/jquery/jquery_event_focus.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question