Although my model contains a boolean, below code is displayed true:
{{ moduleDAO.includeIntermediate }}
following HTML code:
<div class="form-group" ng-class="{'has-error': ModuleDAOForm.includeIntermediate.$invalid}">
<label for="includeIntermediate" class="col-sm-2 control-label">Include Intermediate</label>
<div id="includeIntermediateControls" class="col-sm-10">
<select id="includeIntermediate" name="includeIntermediate" class="form-control" ng-model="moduleDAO.includeIntermediate" >
<option value="">Choose a value</option>
<option value="false">false</option>
<option value="true">true</option>
</select>
</div>
</div>
displays a dropdown without any meaning, why?
BTW. The above code was generated by the JBoss Forge AngularJS forest plugin.
source
share