%PDF- %PDF-
Direktori : /home/silvzytp/ccd-ind-code/resources/views/components/form/ |
Current File : //home/silvzytp/ccd-ind-code/resources/views/components/form/selectbox.blade.php |
<div class="form-group {{ $divClass ?? '' }}"> @if(!empty($labelName)) <label for="{{ $name }}" class="{{ $required ?? '' }}">{{ $labelName }}</label> @endif <select name="{{ $name }}" id="{{ $name }}" class="form-control {{ $class ?? '' }}" @if(!empty($onchange)) onchange="{{ $onchange }}" @endif @if(!empty($multiple)) multiple @endif> {{ $slot }} </select> @if (!empty($error)) @error($error) <span class="d-block text-danger error">{{ $message }}</span> @enderror @endif </div>