<select class="form-control" wire:model.defer="production_parametre_fixes_id.0" wire:change="showUnite(0)">
<option value="0">Choisir</option>
@foreach ($list_parametres as $item)
<option value="{{ $item->id }}">
@if ($item->etape = 'Réception')
{{ $item->matiere }} | {{ $item->unite }}
@endif
</option>
@endforeach
</select>
<input type="text" class="form-control" placeholder=" " wire:model.defer="qte_materiel.0"/>
<input type="time" class="form-control" placeholder=" " wire:model.defer="debut.0"/>
I have select from database and I want to
- Show only input for
quantite
ifunite
is equal toKG
orl
. - Show input for
heure
ifunite
is equal toh
.
How do I do that ?