If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2

Thread: optgroup

  1. #1
    Junior Member
    Join Date
    Feb 2018
    Member #



    I am trying to add a select menu with optgroup labeled. However, the optgroup labels are not appearing. Can you point me in the right direction? Please see the code below to look at what I have tried.
    HTML Code:
                       <label for="exampleFormControlSelect1">Example select</label>
                       <select class="selectpicker" id="ressource_regions_region_id">
                      <optgroup label="Criminal Cases">
                      <option selected>Select Case Type...</option>  
                          <option value="Misdemeanor">Misdemeanor</option>
                          <option value="Felony">Felony</option>
                          <option value="Justice of the Peace Court">Justice of the Peace Court</option>
                          <option value="Municipal Courts">Municipal Courts</option>
                          <option value="Juvenile Court">Juvenile Court</option>
                               <optgroup label="General Cases">
                            <option value="Probate">Probate</option>
                          <option value="Living Will">Living Will</option>
                          <option value="Medical Power of Attorney">Medical Power of Attorney</option>
                          <option value="Statutory Power of Attorney">Statutory Power of Attorney</option>
                          <option value="Deed Transfer on Death">Deed Transfer on Death</option>


  3. #2
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Oklahoma City
    Member #
    959 times
    Works fine for me when I paste it in Codepen
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Tags for this Thread

All times are GMT -6. The time now is 05:37 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: