Allow multiple value selection for 'select' elements

Created on 16 July 2025, 13 days ago

Problem/Motivation

When using select element to display attribute value options, it would be nice to allow multiple value selection.

Proposed resolution

Add #multiple => TRUE to the attribute's form element settings, when the attribute's configuration yaml contains a corresponding entry.

Feature request
Status

Active

Version

1.0

Component

User interface

Created by

🇺🇸United States euk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @euk
  • 🇺🇸United States euk

    Here is the patch to use.

  • 🇺🇸United States euk
  • 🇺🇸United States euk
  • Pipeline finished with Success
    13 days ago
    Total: 263s
    #549370
  • 🇮🇳India arunsahijpal

    Hi @euk,
    I have used these configurations to add style class for a select dropdown

    attributes:
      container_class:
        label: 'Container class(es)'
        description: 'CSS class for the menu list item (<li>). Separate multiple classes by space.'
      class:
        label: 'Link class(es)'
        description: 'CSS class for the link (<a href>). Separate multiple classes by space.'
      target:
        label: 'Link target'
        description: 'Choose how the link should open.'
        options:
          _blank: 'New window (_blank)'
          _self: 'Same window (_self)'
        default_value: ''
      style_class:
        label: 'Style class'
        description: 'Choose style classes for this link.'
        options:
          btn: 'Button'
          primary: 'Primary'
          large: 'Large'
        multiple: true
    

    and after applying your MR I was able to select more than one.
    Attaching ss for reference.
    So moving it to RTBC.

    Thanks,
    Arun

Production build 0.71.5 2024