Intentando integrar con air-datepicker

This commit is contained in:
2025-01-26 14:36:46 -03:00
parent 85ae2d033e
commit b7a79e9479
6 changed files with 45 additions and 6 deletions

View File

@@ -30,7 +30,7 @@
{{ $slot }}
</main>
</div>
@livewireScripts
@livewireScriptConfig
</body>
</html>

View File

@@ -9,7 +9,15 @@
</div>
<div class="flex mb-4">
<x-date label="Fecha" wire:model.live="searchFecha" helpers/>
<label class="form-control">
<div class="label">
<span class="label-text">Fecha</span>
</div>
<input type="date" class="input input-bordered" wire:model.live="searchFecha"/>
@error('fecha')
<p class="text-sm text-error">{{ $message }}</p>
@enderror
</label>
</div>
<div class="overflox-x-auto">
@@ -54,7 +62,7 @@
<div class="label">
<span class="label-text">Fecha</span>
</div>
<input type="date" class="input input-bordered" wire:model="fecha"/>
<input type="date" class="input input-bordered" wire:model.live="fecha"/>
@error('fecha')
<p class="text-sm text-error">{{ $message }}</p>
@enderror