[wp-trac] [WordPress Trac] #47692: Optgroup in Customizer Select Control

WordPress Trac noreply at wordpress.org
Wed May 20 07:31:33 UTC 2020


#47692: Optgroup in Customizer Select Control
-------------------------+-----------------------------
 Reporter:  chintan1896  |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Customize    |     Version:  3.4
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+-----------------------------

Comment (by chintan1896):

 Hey @Lwangaman,

 What if the developer wants some choices in an optgroup and some at the
 top level of the select? So i believe with this patch code
 47692-updated.patch developer can easily manage if developer add
 multidimensional array so it will convert automatically in optgroup
 otherwise work as per current working. If you have knowledge about
 JavaScript template so please help me to add this functionality in
 WordPress.

 Thanks,
 Chintan

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47692#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list