0
user selects a user by name, I need to find out which id is chosen. Thanks guys, I’m new to Laravel!
How I get the value of users->id?
{!! Form::select(
'id_users',
$users->pluck('name'),
$users->pluck('id'),
[],
['class' => 'form-control']
) !!}
Thank you very much for the corrections Guilherme Cosamilam!!!!
– Emilio Dami Silva