shamsul_huda
7 months ago

In Bootstrap 4, select option field doesn't support required="true" for simple validation

Posted 7 months ago by shamsul_huda
<span class="channel">
           <select class="selectpicker" name="channel_id" data-style="btn btn-link" id="exampleFormControlSelect1" required="true">
                 <option>Channel</option>

               @foreach($channels as $channel)
                  <option value="{{ $channel->id }}">{{ $channel->title }}   
                 </option>
               @endforeach

            </select>
  </span>

Please sign in or create an account to participate in this conversation.