var itemTrees = _itemTreeAdapter.GetAll().Select(it=> new {id = it.NodeId, Descrip = it.Descrip}).OrderBy(it=>it.Descrip);I want to add one extra option to that variable with id = 0 and Descrip = 'Select Item Tree...'
<select class="form-control" ng-model="currentSalespoint.iTreeTop" ng-options="t.id as t.descrip for t in metaData.itemTrees"> <option value="">Select Item Tree...</option> </select>This sort of works, however, when I select that 'Select Item Tree...' option and try to save I immediately get the error on the form which looks like this (see attached). If I use 0 in the value, then this option is not shown up at all.