maddisondesigns / customizer-custom-controls

WordPress Customizer Custom Controls
403 stars 120 forks source link

Dropdown Select2 Control (single select) placeholder not displayng #18

Closed Amiteb closed 4 years ago

Amiteb commented 4 years ago

if ( !$this->multiselect ) { // When using Select2 for single selection, the Placeholder needs an empty '; Here Need to Add $this->placeholder between option tag please reply soon

maddisondesigns commented 4 years ago

The Select2 Control seems to be working fine as it is, for single selection.

Here's a vid I just created: https://share.getcloudapp.com/Z4uw6Djo

This is using my sample theme which is using the current/latest version of the code.

You can find my sample theme here if you want to try it out - https://github.com/maddisondesigns/Customizer-Custom-Controls-Sample-Theme