Why does my dropdown show the first option instead of a placeholder?
The <select> shows the first <option> by default. To show a placeholder, add an <option> with empty value and 'disabled selected' attributes.
💡 Use <option value="" disabled selected>Choose...</option> as the first option for a placeholder.
Why can't I select multiple options in my dropdown?
By default, <select> allows only one choice. To select multiple, add the 'multiple' attribute to <select>.
💡 Add multiple attribute: <select multiple> to enable multi-selection.
Why is my option grayed out and unclickable?
If an <option> has the 'disabled' attribute, it appears grayed and cannot be selected.
💡 Remove 'disabled' attribute to make option selectable.