JSFiddle - React, Tailwind, and code Playground

by Alex

HTML

<select ng-switch-when="list" ng-model="item.value" class="ng-scope ng-pristine ng-valid">
    <option value="? string:1 ?"></option>
    <option value="">-- Bitte wählen --</option>
    <option ng-repeat="val in item.data" value="1" ng-selected="selectedOption(val.split(':')[1], item.value)" class="ng-scope ng-binding" selected="selected">ja</option>
    <option ng-repeat="val in item.data" value="0" ng-selected="selectedOption(val.split(':')[1], item.value)" class="ng-scope ng-binding">nein</option>
</select>
<hr/>
<div></div>

CSS

option{
    color:red;
}
option:before{
    content: '*'
}

JavaScript

$(function(){
  alert( JSON.stringify( $('option:empty') ) )
});