Based on conversation here, http://salesforce.stackexchange.com/questions/28310/angular-option-for-null-not-working-in-visualforce , it seems the "best" option is to include the none option in the array of color options and then use a custom orderBy filter function to ensure it is always at the top.
I still think anular should treat <option> and <option value=""> as the same. On Wednesday, February 19, 2014 9:11:15 AM UTC-8, Jason Venable wrote: > > In salesforce.com Visualforce pages the default <option> value for null > is not being displayed. I have a very simple select component with one > <option> child for the null value as defined by the Angular Docs ( > http://docs.angularjs.org/api/ng/directive/select). > > Here is the very simple app working on jsfiddle: > http://jsfiddle.net/MTfRD/670/ > > And here it is on a salesforce.com Visualforce page, notice the "-- > choose color --" option is not displayed in the select: > http://geopointedev-developer-edition.na14.force.com/angularoption > > This is driving me a little mad so any ideas on what may be going wrong > here would be very helpful. > > Thanks, > Jason > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
