<select ng-model="query.city" ng-options="..."><option value="">-empty</option></select>
Henrik--
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+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
In angular the convention is that an input with no entry has a null model. If "" is a valid option then why not add it to the list if options provided by ng-option?
Pete
...from my mobile.
Visit this group at http://groups.google.com/group/angular.