1
0
Fork 0

resources/views/components/form/inputs/select.blade.php: Set name attribute.

This commit is contained in:
Henrik Hautakoski 2021-07-22 18:17:22 +02:00
parent a179010914
commit acce1c21b8

View file

@ -1,4 +1,4 @@
<select {!! $attributes->merge(['class' => 'w-full border rounded p-1 focus:ring-2']) !!}>
<select name="{{ $name }}" {!! $attributes->merge(['class' => 'w-full border rounded p-1 focus:ring-2']) !!}>
@forelse($options as $key => $option)
<option value="{{ $key }}">
{{ $option }}