miguel456 25fe13f091
chore(deps): added adminlte vendored items
(this might not be entirely necessary unless we're changing everything adminlte publishes)

Signed-off-by: miguel456 <me@nogueira.codes>
2023-02-26 02:15:25 +00:00

27 lines
551 B
PHP

{{-- Empty option --}}
@if(isset($emptyOption))
<option value>
{{ is_string($emptyOption) ? $emptyOption : '' }}
</option>
{{-- Placeholder option --}}
@elseif(isset($placeholder))
<option class="d-none" value>
{{ is_string($placeholder) ? $placeholder : '' }}
</option>
@endif
{{-- Other options --}}
@foreach($options as $key => $value)
<option value="{{ $key }}"
@if($isSelected($key)) selected @endif
@if($isDisabled($key)) disabled @endif>
{{ $value }}
</option>
@endforeach