Skip to main content
Inspiring
Jan 10, 2022 7:46 PM UTC
Answered

How to create a dropdown selected item in XD?

Good day,

 

How would I go about showing the selected item (Item 1 in this example) in a Dropdown as the selected item?  Here is what I am trying to acheive (currently, "hard coded" and I want this to be dynamic)

 

 

User selects Item 2:

Thank you.

 

 

 

<Title renamed by moderator>

This topic is closed to new replies. Start a new post to keep the conversation going.
Doug21784293dvssCorrect answer
Inspiring
Jan 21, 2022 8:58 PM UTC

I found a solution.  Unfortunately, it is not dynamic, but for dropdowns with under 10 items it's a viable solution.

https://www.youtube.com/watch?v=WS3nV0F4eU4&t=266s

 

 

13 replies

try67
Community Expert
Community Expert
Jan 11, 2022 2:43 PM UTC

[Question moved to the Adobe XD forum and merged with the other thread]

Translate
Inspiring
Jan 11, 2022 2:16 PM UTC

Good day,

 

How would I go about showing the selected item (Item 2 in this example) in a Dropdown as the selected item? Here is what I am trying to acheive (currently, "hard coded" and I want this to be dynamic based on the value selected.)

User selects Item 2:

Thank you.

Translate
Harshika Verma
Community Manager
Community Manager
Jan 11, 2022 7:38 PM UTC

Hi Doug21784293dvss,

 

Thank you for reaching out. We would request you to please check out this page: https://www.adobe.com/products/xd/learn/design/layout/create-dropdown-menu.html which might help you.

 

I am also keeping the discussion open for our experts for any other suggestion.

 

Hope it helps.

 

Thanks,

Harshika

Translate
Inspiring
Jan 11, 2022 7:55 PM UTC

Thank you Harshika.

 

I did go through this article previously and it does not cover my question.  :  (

Translate
try67
Community Expert
Community Expert
Jan 10, 2022 10:24 PM UTC

Are you referring to a PDF file? Because drop-down fields in PDF files work like that automatically. The selected item always appears as the text of the field.

Translate
Inspiring
Jan 11, 2022 1:23 PM UTC

No, I wasn't referring to a PDF in particular, my intent is to use this in a working prototype, but if the behavior is the same, sure.

 

I believe this is standard behavior for a dropdown.

 

Here is an example of an HTML dropdown in action:

https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_select

 

Is this possible in XD?

 

 

Translate
Bernd Alheit
Community Expert
Community Expert
Jan 11, 2022 2:05 PM UTC

Why does you use the forum for Adobe Acrobat? Use the forum for XD.

Translate
Inspiring
Jan 10, 2022 7:48 PM UTC

Sorry, my question should have read (can't edit my post):

 

How would I go about showing the selected item (Item 2 in this example)

 

 

Translate