Select with 2 values

0

I have a select that I fill the data with pluck, but then at the time of showing it in the view I do not know how to concatenate more values.

Driver :

public function lista(){
    $productos = Productos::pluck('Codigo','Descripcion','PVP','id')->prepend('selecciona'); 
    return view ('Productos.NuevoProducto2',compact('productos'));
}

Vista :

{!! Form::select( 'producto',$productos,null,['id'=>'producto', 'data-live-search'=>'true']) !!}

Thanks greetings.

    
asked by Jose Maria Montoya Rincon 14.09.2018 в 01:28
source

0 answers