JSFiddle - React, Tailwind, and code Playground

by LittleLebowski

HTML

<select ng-model="selectedQuestion">
    <c:forEach var="question" items="${campaignQuestionList}">
        <c:choose>
            <c:when test='${not empty question.isMandatory }'>
                <option value="${question.Id}" ng-selected="true">${question.Text}</option>
            </c:when>
            <c:otherwise>
                <option value="${question.Id}">${question.Text}</option>
            </c:otherwise>
        </c:choose>
    </c:forEach>
</select>