Fixed livewire script loading issues
This commit is contained in:
parent
b2b8bca9ea
commit
e3b6d302c6
11 changed files with 37 additions and 28 deletions
|
|
@ -1,9 +1,9 @@
|
|||
<x-ui.slide-over model="showSearch">
|
||||
<form wire:submit.prevent="findMovies" class="flex flex-row">
|
||||
<form wire:submit="findMovies" class="flex flex-row">
|
||||
<div class="mb-5">
|
||||
<label for="query">Enter a movie title</label>
|
||||
<div class="flex flex-row">
|
||||
<input wire:model="query" type="text" name="query" class="bg-white p-2 text-black"/>
|
||||
<input wire:model.live="query" type="text" name="query" class="bg-white p-2 text-black"/>
|
||||
<button class="bg-green-400 p-2" type="submit">Search</button>
|
||||
</div>
|
||||
@error('query') <span class="error text-red-500">{{ $message }}</span> @enderror
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue