Link within Combobox? #4187
-
Hi! Wondering if it's ok to include a link out in a combobox for the selected item: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Disclaimer: This is a very experimental bot using OpenAI's GPT-4. The answers may not be correct, a human will review the answer and update it if necessary. Yes, it is absolutely okay to include a link out in a combobox for the selected item. However, it's important to note that the implementation requires careful consideration to ensure accessibility and proper behavior, such as cmd+click to open the link in a new tab. The selection of an option should trigger the resultant action, which can include page navigation. This can be achieved by clever implementation so that the navigation action happens upon clicking the entire option (because it's an HTML anchor underneath to get the browser behaviors) and perform the navigation action For more detailed guidance on implementing this, you might want to refer to the Paste documentation on Combobox: https://paste.twilio.design/components/combobox I also did a search, and I managed to find these other Discussions that might be similar or related to your question. Give them a read to see if they answer your question. If they do, head back here and update this discussion and mark it as answered, pointing others to the related discussion:
|
Beta Was this translation helpful? Give feedback.
-
Hi Colleen, Waiting for your response! |
Beta Was this translation helpful? Give feedback.
It is technically ok to link out like you shared in your screenshot, but it doesn't feel super clear that that's what the link is doing, especially since the visual of the icon link won't be changing as a user is swapping different audience options.
Did you try adding Help Text to the Combobox (like "Go to Classic Audience 1") and dynamically changing the text based on the audience selected?