I have an array of stuff from which I am building a <select>
and I want to be able to mark the first
item as disabled using CSS, however I cannot get the syntax right.
Here's what I have:
<select select2 value.bind="selectedItem">
<option repeat.for="item of stuff" model.bind="item" class="${${first} ? 'disabled selected hidden' : ''">
${item.key}
</option>
</select>
HERE's a Plunker
similar enough that can be used as a test-bed.
What am I missing?