This repository was archived by the owner on Oct 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Is there any way to set placeholder with search-enabled="false"? #241
Comments
i have the same question! |
I fixed the problem by updating a condition in the ui-select-match directive tpl files. |
hthabet
pushed a commit
to hthabet/ui-select
that referenced
this issue
Oct 16, 2014
You may notice that it is not working properly with bootstrap 3 selectize theme and this is because of the css rule !important on the input element :
|
dimirc
added a commit
that referenced
this issue
Oct 29, 2014
Display placeholder when searchEnable is set to false #241
bereczdenes
added a commit
to IPSystems/ui-select
that referenced
this issue
Nov 5, 2015
messo
pushed a commit
to IPSystems/ui-select
that referenced
this issue
Feb 15, 2016
Closing due to age of issue - feel free to open a new issue with reproduction based on the latest release if this is still a problem. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This is my code:
<ui-select ng-model="data.selectEstablec" theme="selectize" search-enabled="false" style="width: 95%;">
<ui-select-match placeholder="Establecimiento...">{{$select.selected.nombre}}</ui-select-match>
<ui-select-choices repeat="est in establecimientos" value="{{est.id}}">{{est.nombre}}</ui-select-choices>
</ui-select>
When search is enabled, placeholder shows fine.
I tested this also:
<ui-select ng-model="data.selectEstablec" theme="selectize" search-enabled="false" data-placeholder="Establecimiento..." style="width: 95%;">
<ui-select-match>{{$select.selected.nombre}}</ui-select-match>
<ui-select-choices repeat="est in establecimientos" value="{{est.id}}">{{est.nombre}}</ui-select-choices>
</ui-select>
But placeholder is missing.
The text was updated successfully, but these errors were encountered: