How can I ensure that the value of a dropdown option matches its label? Currently, when getting options from a JSON file and populating the dropdown, the values do not match the labels. For example, how can I set the value to be "4.90a-ea02" when the label is also "4.90a-ea02"?
<select name="version" class="form-control" ng-model="myObj.Version"
ng-options="item as item.version for item in contver| unique:'version'|orderBy: '-version'" >