lekoala/bootstrap5-tags

Missing first option when using the <select multiple>

Closed this issue · 2 comments

Hi,
I'm not a JS/HTML guru, so I'm unsure how to describe the problem adequately...

Even when setting all options as selected, the first is missing from the tag list.

I have created an example that is as simple as possible to mimic the problem.

https://jsfiddle.net/nkxutpv7/

yes that's basically because typically the first option would be "please select..." something
if you don't provide a placeholder or something, it's going to take the first option as the placeholder

Ah ok...