An angular wrapper for Bootstrap-select with dynamic loading options support
View on GithubAdd data-live-search="true"
in nya-bs-select
directive to add live search support
To display an default information when nothing is selected. just set title
attribute in nya-bs-select
directive.
You can also set a template for default information when nothing is selected.
Note: This only works on multiple nya-bs-select
. For single nyab-bs-select
You should give your model an default value to avoid the default text to display
Using the data-selected-text-format
attribute on an multiple nya-bs-select
you can specify how the selection is displayed.
values
A comma delimited list of selected values.(default)
count
If one item is selected, then the value is shown, if more than one is selected then the number of selected items is displayed.
count > x
Where X is the number of items selected when the display format changes from values
to
count