skip to Main Content

Disable dropdown in Laravel Blade

I have this dropdown i want to make it read only or disable {{ Form::select('name[]',$names,$name : '' ,['class'=>'form-control name input_fields','readonly'=>true,'id'=>'name']) }} tried disabled also {{ Form::select('name[]',$names,$name : '' ,['class'=>'form-control name input_fields','disabled'=>true,'id'=>'name']) }} but i want to disable options only the…

VIEW QUESTION

Using variables in laravel blade template

Could anyone help me to understand how to use variables in the following case: @for($i = 0; $i < 3; $i++) @if(isset($images->image_$i_url)) <div class="w-25" > <img src="{{ Storage::url($images->image_$i_url) }}" alt="image" style="width: 128px;"> </div> @endif <div class="form-group"> <div class="input-group"> <div class="custom-file">…

VIEW QUESTION
Back To Top
Search