Yeah that seems to be one solution, though I was hoping to avoid it as in 
my real app I am using number values that correspond with Enums. This way I 
can post the actual int value of the Enum so that the web api service can 
convert it right to a C# enum value. Unfortunately, I don't have control 
over all of the enums I'll be using, so some of them will have zeros for 
sure. Perhaps I'll look into using enum string serialization instead.

On Monday, December 1, 2014 6:01:05 PM UTC-6, Florian Orben wrote:
>
> Sorry - wrong link, this is the correct one:
> http://jsfiddle.net/my3ca742/
>
> Am Dienstag, 2. Dezember 2014 00:57:22 UTC+1 schrieb Florian Orben:
>>
>> Hey,
>>
>> I'd guess this is a angular bug caused by the empty <option> element that 
>> ng-options adds to the select box.
>> If possible change the index to start with 1 - not 0 - like in this fork: 
>> http://jsfiddle.net/4L2vvq0n/
>>  
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to