From d51ba9d8701625636915657093c2b3ab7c23b192 Mon Sep 17 00:00:00 2001 From: Brett Knighton Date: Fri, 27 Mar 2015 14:16:59 -0600 Subject: [PATCH] Feature: Option to not select first item in select-choices by default. --- src/common.js | 1 + src/uiSelectChoicesDirective.js | 8 ++++++- src/uiSelectController.js | 20 ++++++++++++----- src/uiSelectMultipleDirective.js | 20 ++++++++--------- test/select.spec.js | 37 ++++++++++++++++++++++++++------ 5 files changed, 64 insertions(+), 22 deletions(-) diff --git a/src/common.js b/src/common.js index efc7a5b9f..26a971f50 100644 --- a/src/common.js +++ b/src/common.js @@ -93,6 +93,7 @@ var uis = angular.module('ui.select', []) placeholder: '', // Empty by default, like HTML tag