Create item in list #4257
-
Hello I am working on a combobox component where user can create a new item. One of the pain points is around creating new items in the list. Currently creation is only available if we are unable to find the list item. Users have mentioned that sometimes they just want to create without having to search everything. I have created a design for this and wanted to get your thoughts for this interaction (screenshot attached): |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
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. Hi there! Based on the Paste documentation sections you've provided, here's how the interaction for creating a new item via a combobox can work:
Here's a snippet from the documentation that explains this interaction:
Additionally, there's a Code Sandbox demo provided by the Paste team that showcases this functionality. This demo might not cover every aspect perfectly (e.g., it doesn't close/clear the Combobox on select, and you'll have to add the matching hover/focus state), but it gives a good starting point for implementing this interaction. For more detailed guidance and to explore the demo, you can visit the Paste documentation: https://paste.twilio.design Please let me know if there's anything else I can help with! 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.
-
Hey @ankigupta92, yes, this is our recommended interaction! PasteBot is right—See #3983. It's still in our backlog to get this example up in our doc site, but it is available in Figma right now: ![]() |
Beta Was this translation helpful? Give feedback.
Hey @ankigupta92, yes, this is our recommended interaction! PasteBot is right—See #3983.
It's still in our backlog to get this example up in our doc site, but it is available in Figma right now: