There is an input field we need user to input a name in, and as they enter the name, system checks if there is a duplicate name and if there is, it will be shown under the input box.
Currently, we show 3 items at once along with a "Show all" button. On clicking, that button will show 20 items at the maximum. I'm updating this design now. I tried to use a modal to show all duplicate items. I also tried to use a scrollbar on the right side of duplicate items.
Is there any better way to do this?