My select element has four options. The initial value is set using ng-init
, and once set, the user can only change it from that point on. While my initial functions successfully accept the value set by ng-init
and are able to change it, the selected value is not displaying.
<select name="resultShow" class="result-show" ng-init="resultShow=25" ng-change="updateProd(resultShow,prodState,prodType,prodStyle,prodBrand,keywords)" ng-model="resultShow">
<option value="25">25</option>
<option value="50">50</option>
<option value="75">75</option>
<option value="100">100</option>
</select>