php - Search value in array in Laravel Blade

one text

Solution:

You need to iterate over your array using the foreach blade method.

Then you need to display the value of the array that you need.

Example for your use case:

@foreach($selectedProductFeatures as $productFeatures)
   <input type="text" name="{{$productFeatures->key}}" value="{{$productFeatures->description}}">
@endforeach

Source