-
-
Save cursosdesarrolloweb/4877b2499744b6b4457b739e63a7f818 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="col-md-3 col-sm-6 mb-3 select-px-15 pl-30 pr-15" wire:ignore> | |
<label for="user_id" class="il-gray fs-14 fw-500 align-center">{{ __("Usuario") }}</label> | |
<select | |
wire:model="user_id" | |
id="user_id" | |
class="form-control ih-medium ip-light radius-xs b-light {{ ($errors->has('user_id') ? ' is-invalid' : null) }}" | |
> | |
<option value="">{{ __("Selecciona un usuario") }}</option> | |
@if(count($users) > 0) | |
@foreach ($users as $id => $name) | |
<option value="{{ $id }}">{{ $name }}</option> | |
@endforeach | |
@endif | |
</select> | |
@error("user_id")<div class="invalid-feedback">{{ $errors->first("user_id") }}</div>@enderror | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment