選択ボックスが選択されていない場合、null 値が返されますが、どのように可能ですか? 私はこのコードを試しました:
<select name="city" id="city" style="width:238px;height:40px;"><option value= NULL >Select City</option>@foreach($cityName as $city)<option value="{{$city->id}}"> {{$city->name}}</option>@endforeach</select>