Master Addons
  • Widgets
    • Changelogs
      Source Code NEW PRO
      Caldera Forms
      Logo Slider
      Table of Contents
      Gravity Forms
      Transforms PRO
      Restrict Content PRO
      Pricing Table
      Ninja Form
      Mailchimp
      Tooltip
      Popup Trigger NEW PRO
      Which Element NEW
      Creative Button
      Creative Links NEW
      Domain Search HOT PRO
      Dual Heading HOT
      Flipbox
      Animated Gradient BG HOT PRO
      Image Hotspot PRO
      Infobox
      News Ticker PRO
      Particles
      Progress Bar
      Off-Canvas Content NEW PRO
      Reading Progress Bar HOT
      Custom JS
      Blockquote
      Counter Up
      Image Hover Effects
      Reveal NEW PRO
      Rellax PRO
      Positioning
      Image Comparison
      Tabs
      Toggle Content HOT PRO
      Post/Page Duplicator FREE
      Floating Effects PRO
      Mega Menu HOT
      Custom CSS HOT
      Gradient Headline
      Advanced Image
      Nav Menu
      Tooltips
      Comparison Table PRO
      Glassmorphism
      Featured Product PRO
      Image Carousel
      Gallery Slider NEW PRO
      Dynamic Tags NEW
      Countdown Timer
      Current Time
      Patterns
      Wrapper Link
      Timeline
      Team Member
      Contact Form 7
      Advanced Accordion
      Animated Headlines
      Blog
      Business Hours
      Call To Action
      Progress Bars
      Background Slider
      Team Slider
      Dynamic Table
      Grid Line PRO
      WP Forms
      Search
      We Form
      Entrance Animation NEW PRO
      Display Conditions PRO
      Filterable Image Gallery
      WP Forms
      Custom Breakpoints NEW
  • Features
    • Theme Builder

      Design site-wide templates for a consistent look across every page of your website.

      Popup Builder

      Create engaging popups, modals, and announcement bars - to capture leads.

      Widget Builder

      Expand Elementor with advanced custom widgets to build more dynamic layouts.

      Mega Menu Builder

      Create multi-column menus with icons and images for superior navigation.

      Custom Css

      Apply your own CSS for pixel-perfect styling beyond default design options.

      Dynamic Tags

      Insert dynamic content like post titles and custom fields directly into designs.

      Display Conditions

      Control element visibility based on user role, device, time, and other rules.

      Icons Library

      Choose from thousands of built-in icons to enhance visuals and consistency.

      Animation

      Add scroll, hover, entrance, and much more animations to bring designs to life.
  • Template Kits
    • Template Kits

      Professionally designed full-page template Kit. Import and customize in seconds.

      Ready Sections

      Pre-built content sections and rows. Drag, drop, and customize instantly.

      Ready Popups

      Different types of High-converting popup designs. Import and launch quickly.

      Elementor Page Templates

      Complete page layouts for any purpose. Start editing immediately.

      Ready Header

      Multiple modern header designs. Import and adapt to your brand.

      Ready Footer

      Fully designed footers for different websites. Add functionality and style in clicks.
  • Brands
    • WP Adminify

      WP Adminify

      Take control of your WordPress dashboard. Customize the admin experience.
      Admin Bar Editor

      Admin Bar Editor

      Customize the WordPress admin bar for a cleaner, more personalized workspace.
      Loginfy

      Loginfy

      Customize your WordPress login page with branding, styles, and security enhancements.

      Rolemaster Suite

      Manage user roles and permissions with precision for better security and workflow.
      Master Blocks

      Master Blocks

      Expand the Gutenberg editor with advanced custom blocks for more creative layouts.
      WP Spotlight

      WP Spotlight

      Instantly search and access admin features, posts, and settings from anywhere.
  • Themes
  • Help
    • Get Support
    • Documentation
    • Facebook Community
    • Changelogs
  • Blog
Pricing
🇺🇸EN
  • 🇺🇸EN
  • 🇸🇦AR
  • 🇧🇩BN
  • 🇩🇰DA
  • 🇩🇪DE
  • 🇪🇸ES
  • 🇫🇷FR
  • 🇮🇳HI
  • 🇰🇷KO
  • 🇵🇹PT
  • 🇷🇺RU
  • 🇨🇳ZH

Getting Started

  • Can’t see the Master Addon Element inside Elementor Page editor?
  • How To Apply For an Affiliate Account?
  • Active Pro version
  • Installing Plugin

Addons

  • Popup Trigger Widget Settings
  • Off-Canvas Content Widget Settings
  • Logo Slider Widget Settings
  • Progress Bars Widget Settings
  • Image Carousel Settings
  • Featured Product Widget Settings
  • Comparison Table Widget Settings
  • Source Code Widget Settings
  • Advanced Image Widget Settings
  • Gradient Headline Widget Settings
  • Gallery Slider Settings
  • Toggle Content Widget Settings
  • Info Box Widget Settings
  • Timeline Widget Settings
  • Dynamic Table Widget Settings
  • Mailchimp Widget Settings
  • Blockquote Widget Settings
  • Changelog Widget Settings
  • Countdown Timer Widget Settings
  • Current Time Widget Settings
  • Search Widget Settings
  • Filterable Image Gallery
  • Team Slider Widget Settings
  • Counter Up Widget Settings
  • Restrict Content Settings
  • Table of Contents Widget Settings
  • Image Hotspot Widget Settings
  • Image Comparison Widget Settings
  • News Ticker Widget Settings
  • Image Hover Effects
  • Tabs Settings
  • Pricing Table Widget Settings
  • Nav Menu Widget Settings
  • Domain Search Widget Settings
  • Flipbox Widget Settings
  • Tooltip Settings
  • Creative Links Widget Settings
  • Business Hours Widget Settings
  • Contact Form 7 Widget Settings
  • Creative Button Widget Settings
  • Animated Headlines Settings
  • Advanced Accordion Widget Settings
  • Call to Action Widget Settings
  • Progress Bar Widget Settings
  • Blog Posts Widget Settings
  • Team Member Widget Settings
  • Dual Heading Settings

Extensions

  • Icon Library Settings
  • Mega Menu Settings
  • Which Element Extension Settings
  • Post/Page Duplicator Extension Settings
  • Grid Line Extension Settings
  • Glassmorphism Extension Settings
  • Tooltip Extension Settings
  • Wrapper Link Settings
  • Floating Effects Extension Settings
  • Dynamic Tags Settings
  • Display Conditions Extension Settings
  • Entrance Animation Settings
  • Custom Breakpoints Settings
  • Animated Gradient BG Extension Settings
  • Reveal Extension Settings
  • Particles Extension Settings
  • Background Slider Extension Settings
  • Transforms Extension Settings
  • Rellax Extension Settings
  • Positioning Extension Settings
  • Custom CSS Settings

Widget Builder

  • Conditions
  • Twig Syntax
  • Settings Panel Introduction
  • Divider
  • Text Shadow
  • Select2
  • Border
  • Heading
  • Tabs
  • Repeater
  • Visual Choice
  • Background
  • Dimensions
  • Box Shadow
  • Slider
  • Icons
  • Gallery
  • Media
  • Popover Toggle
  • URL Field
  • Date Time
  • Typography
  • Font
  • Color Field
  • Choose
  • Select
  • Switcher
  • Hidden
  • Code
  • WYSIWYG
  • Textarea Field
  • Number
  • Text Field

Theme Builder

  • Comment Form
  • 404
  • Search
  • Archive
  • Single
  • Footer
  • Header

Popup Builder

  • How to Open a Popup After Inactivity in Elementor
  • How to Show an Exit Intent Popup in Elementor
  • How to Open a Popup on Scroll to a Specific Element in Elementor
  • How to Open a Popup on Scroll in Elementor
  • How to Open a Popup on Click in Elementor
  • How to open a popup on page load?
  • Popup Settings & Options

Template Kit

  • How to Import Template Kits in Master Addons
  • How to Disable Elementor Default Fonts and Colors
  • Import Elementor Template Kits
View Categories
  • Home
  • Docs
  • Widget Builder
  • Select2

Select2

Roy Jemee
Updated on September 17, 2026

7 min read

The Select2 field adds a searchable dropdown to a custom widget built with the Master Addons Widget Builder. Editors type to filter the list, and with Show Multiple turned on they can pick several options at once. Use it for long option lists or for tag-style choices where one answer isn’t enough.

Select2 is a Pro field. The free plugin includes a limited Widget Builder, and the full set of fields comes with Master Addons Pro.

Two portfolio cards built with the Widget Builder Select2 field showing different project types and tags

What the Select2 field does #

  • It adds a dropdown with a search box to your widget’s panel in Elementor.
  • With Show Multiple off, the editor picks one option and your template gets that option’s key.
  • With Show Multiple on, the editor picks any number of options, shown as removable tags, and your template gets a list of keys that you print with a {% for %} loop.
  • Each option has a key and a label. Editors see the labels, and your HTML always receives the keys.

If you haven’t built a widget yet, read the Widget Builder overview first. For a short single-choice list without search, the plain Select field is simpler.

Before you start #

  • WordPress with Elementor installed and active.
  • Master Addons for Elementor and Master Addons Pro, both active. The installation guide covers setup.
  • A widget open in the Widget Builder. The example in this guide is a “Portfolio Card” widget with a Text field for the project title and two Select2 fields: Project Type (one choice) and Project Tags (several choices).

How to add a Select2 field #

  1. Go to Master Addons > Widget Builder and open your widget.
  2. On the Content tab, add a section if there isn’t one yet.
  3. Type select in the field search box on the left. Select and Select2 come up.
  4. Drag Select2 into the section. Its settings open in the left sidebar.
Select2 field found by searching select in the Master Addons Widget Builder with Project Type and Project Tags fields in a Content section

A new Select2 field starts with Show Multiple turned on and three sample options (value-1 to value-3). Replace them with your own before you write the template.

Select2 field options explained #

Here is the Project Type field, set up for a single choice:

Select2 field options in single mode with Show Multiple off, four options and Branding as the default value
  • Label is the text next to the control in Elementor, for example “Project Type”.
  • Name is the field’s unique ID (letters, numbers and underscores only). It is also the token you use in the template, so project_type becomes {{project_type}}.
  • Description appears under the control in Elementor. Use it for a short hint such as “Choose one category.”
  • Show Multiple? switches between one pick (No) and many picks (Yes). This changes what your template receives, so decide before you write the HTML.
  • Options is the list of choices. The left box is the key your template gets (branding, web). The right box is the label editors see (Branding, Web Design). Use the plus icon to add a row and the red cross to remove one.
  • Default Value is what’s selected when the widget is first added to a page. In single mode it’s a normal dropdown. If you leave it empty, the first option is selected.

Project Tags uses the same options with Show Multiple turned on. The Default Value box becomes a tag picker, so you can preselect more than one option. Leave it empty and the first option is preselected.

Select2 field options with Show Multiple on, six key and label options and Logo and Packaging as default values

If the Default Value list still shows the old sample options after you edit Options, click Save Settings and open the field again.

Below Default Value you’ll find the common settings shared by most fields: Show Label, Label Block, Responsive Control, Dynamic Support, Frontend Available, Separator, Conditions and Control Classes. Label Block is worth turning on for a multiple field, since the control then gets the full panel width for its tags.

Use Select2 values in your template #

How you print the value depends on Show Multiple.

Single mode: print the key #

A single Select2 works like any other token. {{project_type}} prints the selected key, so you can use it as text or build a CSS class from it:

<article class="portfolio-card type-{{project_type}}">
  <span class="card-type">{{project_type}}</span>

With Branding selected, that renders type-branding and branding. You can also compare it: {% if project_type == 'web' %}...{% endif %}.

Multiple mode: loop over the keys #

A multiple Select2 holds a list, and {{project_tags}} on its own prints nothing. Loop over it instead:

<ul class="card-tags">
  {% for tag in project_tags %}
    <li class="card-tag">{{ tag }}</li>
  {% endfor %}
</ul>

The loop runs once for each picked option, in the order the editor picked them. Inside it, {{ tag }} is one key, and filters such as {{ tag|upper }} work too. The Twig syntax guide lists everything the template engine supports.

Widget HTML using the project_type token and a for loop over project_tags

The Documentation panel next to the code editor lists a token for every field. Copying {{project_tags}} from there is fine for single fields, but a multiple field still needs the loop.

Click Save Settings when the template is done.

Use the Select2 control in Elementor #

Add the widget to a page, or reload the editor if the page was already open. Both Select2 controls appear on the Content tab with their defaults already selected.

Project Type and Project Tags Select2 controls in the Elementor Content tab next to the rendered portfolio card

In the multiple control, click the plus button or the empty space after the tags and start typing. The list narrows as you type, and Enter adds the highlighted option. Each tag has a small cross that removes it.

Typing in a multiple Select2 control in Elementor filters the options to Social Media

The single control opens a dropdown with its own search box. Pick an option, or use the cross next to the current value to clear it.

Single Select2 dropdown open in Elementor with a search box and four options

The canvas updates straight away. Notice that the panel shows labels (Web Design, Social Media) while the card prints keys (web, social):

Elementor panel shows Select2 labels Web Design and Social Media while the widget prints the keys web and social

If you need the label text on the page, either make the key readable enough to display, or map it in the template:

{% for tag in project_tags %}
  <li class="card-tag">{% if tag == 'social' %}Social Media{% else %}{{ tag }}{% endif %}</li>
{% endfor %}

Common use cases #

  • Tags or services on portfolio, case study and team cards.
  • A category or style picker that adds a CSS class, such as type-web.
  • Long lists like countries, industries or icon sets, where search saves scrolling.
  • Feature lists on pricing or product cards, looped into list items.

Tips for working with the Select2 field #

  • Decide on Show Multiple first. Switching it later means changing {{field}} to a loop, or the other way round.
  • Write keys in lowercase with no spaces (social, web). They end up in class names and comparisons.
  • Don’t rename keys after the widget is in use. Pages that already saved the old key won’t match the new one.
  • Style the output with the key, for example .type-web .card-type { ... }.
  • For a handful of icon buttons instead of a dropdown, use the Choose field.

Frequently Asked Questions #

Is the Select2 field free?

No. Select2 is one of the Pro fields in the Widget Builder, so Master Addons Pro has to be active before you can add it to a widget.

How do I show every value picked in a multiple Select2?

Loop over the field: {% for tag in project_tags %}{{ tag }}{% endfor %}, where project_tags is the field’s Name. The loop runs once per picked option.

Why does my Select2 token print nothing?

Show Multiple is probably on. A multiple field holds a list, and {{field_name}} can’t print a list. Use a {% for %} loop, or turn Show Multiple off if one choice is enough.

Does the template get the option label or the key?

The key. If the option web has the label Web Design, the template gets web. To print the label, use a readable key or map it with {% if %}.

What’s the difference between Select and Select2?

Both use key and label options. Select2 adds a search box and can hold several picks at once with Show Multiple. Use Select for short single-choice lists.

Wrapping up #

Add the Select2 field, set your keys and labels, and choose between one pick and many before you write the HTML. Print a single value with {{field_name}} and loop over a multiple one with {% for %}. For repeating groups of fields rather than a list of choices, look at the Repeater field, and check pricing for what each plan includes.

What are your Feelings

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Updated on September 17, 2026
Text ShadowBorder
Table of Contents
  • What the Select2 field does
  • Before you start
  • How to add a Select2 field
  • Select2 field options explained
  • Use Select2 values in your template
    • Single mode: print the key
    • Multiple mode: loop over the keys
  • Use the Select2 control in Elementor
  • Common use cases
  • Tips for working with the Select2 field
  • Frequently Asked Questions
    • Is the Select2 field free?
    • How do I show every value picked in a multiple Select2?
    • Why does my Select2 token print nothing?
    • Does the template get the option label or the key?
    • What's the difference between Select and Select2?
  • Wrapping up

Join 30,000+ Web Creators Who Trust Master Addons

Get all the premium widgets and templates you desire, built with clean code that keeps your site fast. Ditch the bloat, not the features.

Try Live Demo
Join The Community
Master Addons for Elementor
Master Addons Logo

80+ Premium Widgets & Lifetime Updates – Build Beyond Limits. An Exclusive Creation by Pixar Labs

Facebook-f Twitter Youtube Wordpress
Features
  • Template kits
  • Template Library
  • Widget Builder
  • Theme Builder
  • Mega Menu Builder
Support
  • Support Forum
  • Contact US
  • Join Community
  • Blog
  • Video Reviews
Resources
  • My Account
  • Changlogs
  • Documentation
  • Video Tutorials
  • Toolz.dev
Navigate
  • Apply for Affiliate
  • Terms of Use
  • Refund Policy
  • Privacy Policy
  • About Us