I have a drop-down list, but it shows me only the value of a column, I have a table called services, the first field is called name and the second is called version, Example
Nombre
Pgsql
Version
9.1
I show the drop-down list with the following code.
{!! Form::mySelect('id_servicio',
'Servicio',
App\Servicios::pluck('version', 'id')->toArray(),
null,
['class'=>'chosen']) !!}
Due to this I have had to write in the field version, the value also of the type so that the users can see it, Somebody could indicate me how it could concatenate the fields name and fields version please.