DEV Community

Faqru
Faqru

Posted on

How to display two values in single select component

Hello Experts

I have input to provide users EmpId and related EmpName values. I need to enable user to see EmpId and EmpName and once he made his selection return EmpId in placeholder/input box. And also i need to enable search option during selection. So How can I achieve this ?

Thank you

Top comments (2)

Collapse
 
gaurangdhorda profile image
GaurangDhorda

Feel free to connect with me by email grdtechlab@gmail.com and we will discuss more about it. Looking forward to hearing from you. Thanks!

Collapse
 
faqru profile image
Faqru

Please check your mail. Thank you.