How to implement a dropdown with country flags #671
-
Was looking at using Paste Select but was wondering if I'll have to import all the flag icons to make it work? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
Thanks, @amyzheng95 ! We've been discussing with our team how to do this with Paste components. Right now neither Select nor Combobox can take images, so we're discussing some solutions. Do you have a page screenshot/example of where you're planning on using this? |
Beta Was this translation helpful? Give feedback.
-
@amyzheng95 Since the Select and Combobox components can't take images right now, based on the design mockup you shared with us on Slack, you can:
I definitely recommend chatting with the product designer on your team, though, to check if there are any other possible solutions. |
Beta Was this translation helpful? Give feedback.
-
Revisiting this: now that Combobox can take a https://paste.twilio.design/components/combobox#component-props |
Beta Was this translation helpful? Give feedback.
-
We currently have a design that allows users to select a status for their device. This design displays a supporting icon that we display alongside the label. We would also like this to be displayed when selected. Ideally we'd add a Selected Item Template or something along those lines, currently only a string is supported. |
Beta Was this translation helpful? Give feedback.
@amyzheng95 Since the Select and Combobox components can't take images right now, based on the design mockup you shared with us on Slack, you can:
I definitely recommend chatting with the product designer on your team, though, to check if there are any other possible solutions.