Skip to content

FORMS-25113: Show multiselect dropdown options as a scrollable visible list#44

Merged
amit-mnnit merged 1 commit into
adobe:mainfrom
gaurav5826:flexibleHeightForDD
Apr 23, 2026
Merged

FORMS-25113: Show multiselect dropdown options as a scrollable visible list#44
amit-mnnit merged 1 commit into
adobe:mainfrom
gaurav5826:flexibleHeightForDD

Conversation

@gaurav5826

Copy link
Copy Markdown
Collaborator

Problem

When a dropdown is configured as multiselect (type: string[]), the <select> element rendered with a fixed height that collapsed the list — making it difficult for users to see and pick from available options.

Solution

  • Added a CSS rule for [multiple] attribute (instead of [multiple='multiple']) using field-sizing: content and height: auto so the multiselect renders as an expanded visible list
  • Capped with max-height: 80px to prevent taking up too much vertical space
  • Single-select dropdowns are unaffected

Test plan

  • Multiselect dropdown renders as an expanded visible list
  • Single-select dropdown behavior and appearance unchanged
  • Existing styles remain intact

Fixes: FORMS-25113

@amit-mnnit
amit-mnnit merged commit e8ab1d4 into adobe:main Apr 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants