From 9000423cbf55db3b075c120998105c063f3d5c15 Mon Sep 17 00:00:00 2001 From: Juan Carlos Ruiz Date: Tue, 4 Mar 2014 12:28:40 +0100 Subject: [PATCH] Fixed: When an item that evaluates to false (such as "false" or "no") is selected, the placeholder is shown. --- src/bootstrap/match.tpl.html | 4 ++-- src/select2/match.tpl.html | 4 ++-- src/selectize/match.tpl.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bootstrap/match.tpl.html b/src/bootstrap/match.tpl.html index e59aa1413..73528c5e9 100644 --- a/src/bootstrap/match.tpl.html +++ b/src/bootstrap/match.tpl.html @@ -2,7 +2,7 @@ ng-hide="$select.open" ng-class="{'text-success': $select.selected == undefined}" ng-click="$select.activate()"> - {{placeholder}} - + {{placeholder}} + diff --git a/src/select2/match.tpl.html b/src/select2/match.tpl.html index ed7fe9dbe..1789354c5 100644 --- a/src/select2/match.tpl.html +++ b/src/select2/match.tpl.html @@ -6,7 +6,7 @@ - {{$select.placeholder}} - + {{$select.placeholder}} + diff --git a/src/selectize/match.tpl.html b/src/selectize/match.tpl.html index 0d8636924..d08277add 100644 --- a/src/selectize/match.tpl.html +++ b/src/selectize/match.tpl.html @@ -1 +1 @@ -
+