Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Is there any way to set placeholder with search-enabled="false"? #241

Closed
@mackenrou

Description

@mackenrou

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions