I am facing an issue with the Dropdown menu if the database has a single value.
In my app, I have a dropdown menu for the “subjects” collection.
When the user selects the “next” button, it updates the “post” collection and adds the “selected” subject to the current post, and then moves to the next page.
If there is only one entry, like here if there is only 1 subject in the database (History), clicking on the “next” button doesn’t add the Subject in the post.
However, If there are 2 or more subjects in the database, then a subject can be selected and is getting added to the post.