Angular p-dropdown create options dynamically from one options array


I am trying to create multiple dropdowns in Angular and need every drop down to display one less option. I got this far but now my dropdown always initializes with a value.
I have multiple dropdown and try to use one single options array and generate my data based on these options. I also dont know beforehand how many dropdown I will need.
The issue is that I also need a blank value the user sometimes does not want to select value.

Best regard

Source: Angular Questions

Categorized as angular, primeng, primeng-dropdowns Tagged , ,


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us