Skip to content

Commit

Permalink
select empty value append
Browse files Browse the repository at this point in the history
  • Loading branch information
dobrik committed Nov 11, 2019
1 parent 65d4008 commit ef5a7ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/resources/views/inputs/select.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<label for="{{ $attributes['id'] or $attributes['name'] }}">{{ $label }}</label>
@endif
<select @forelse($attributes as $attr_name => $attr_value) {{ $attr_name }}="{{ $attr_value }}" @empty @endforelse >
<option></option>
@if((($current_value = $object->getValue()) instanceof \Illuminate\Support\Collection))
@forelse($values as $value => $title)
<option
Expand Down

0 comments on commit ef5a7ca

Please sign in to comment.