1
I have a combobox that has the values yes and no. He is bringing the value not put in the bank but the edit form does not appear the other option that in the case would be yes. How do I make the opposite option appear?
<select name="disponivel_venda" class="form-control">
@foreach($properties as $value)
<option {{$property->disponivel_venda == $value->disponivel_venda ? 'selected' : '' }} value="{{ $value->disponivel_venda }}">{{$value->disponivel_venda}}</option>
@endforeach
</select>
How it’s being recorded?
– novic
<select name="available_sale" class="form-control"> <option Selected="disabled">Select</option> <option value="Yes">Yes</option> <option value="No">No</option> </select>
– Marcelo
It causes what problem?
– novic
I said up there in the post
– Marcelo
I believe that your Send Controller would be necessary for me to see what is sending to View and it seems to me a simple adjustment since this select only has two options, I just really need to know which of the classes returns this value
– novic