The value type is appended to the value of the option element in the select dropdown using ng-options
HTML looks like this:
<select id="frontend-select" ng-model="tech.backEndValue"
ng-options="item.value as (item.name | translate) for item in techBackend">
</select>
The result of this:
<select ng-model="tech.backEndValue" ng-options="item.value as (item.name | translate) for item in techBackend">
<option value="string:JAVA" label="Java" selected="selected">Java</option
<option value="string:PHP" label="PHP">PHP</option>
</select>
Why are values ββalways appended with a value of type?
+3
source to share
No one has answered this question yet
Check out similar questions: