Laravel Blade PHP Expression returns undefined variable
I have something like this in my controller passed to blade $fields = [ 'productCode' => [ 'type' => 'text', 'validation' => 'required|min:4|max:10', 'label' => 'Product Code', ], 'productLine' => [ 'type' => 'select', 'options' => ['Motorcycles' => 'Motorcycles', 'Classic…