If you’re having difficulties getting something to work, you can share your code here (in a code block) for comments. Explain what you’re trying to do, what’s working (or what you think is working), and what isn’t.
Here’s an example that demonstrates how to populate a dropdown without duplicates .