Support the ongoing development of Laravel.io →
Blade Laravel

Hi everyone! I have a dropdownlist in my view

`<div class="form-group"> <label for="country">Select Country:</label> <select name="country" class="form-control" style="width:250px"> <option value="">--- Select Country ---</option> @foreach ($countries as $key => $value) <option title="{{$key}}" value="{{ $key }}">{{ $value }}</option> @endforeach </select>

</div>`

can i access the value of selected item in dropdownlist and pass to Controller

Last updated by @shihadop 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

shihad shihadop Joined 24 Apr 2022

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.