I am trying to display a dropdown where users can divide their article in a certain category. I have created a vocabulary called "category" and added s few fields to them.
I have added this to the content structure where the articles are defined. This works perfectly, however, the categories are not displayed as I desire:
When I inspect this element, there is a property used:
<select multiple="multiple"> <option>...</option> </select>
I don't want these options to be displayed together. I need a dropdown to let users select one of the categories.
I tried debugging and look for which
html.twig file is being called, and tried to edit the
select.html.twig but this did not solve the problem.
How can I get these options to show as a dropdown?