Skip to content

Commit cfcb255

Browse files
committed
fix #134
1 parent 1241600 commit cfcb255

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docs/dist/js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ angular.module('docApp', ['ui.router', 'nya.bootstrap.select', 'directives', 'fi
143143
'layout-and-styles',
144144
'live-search',
145145
'alternative-display',
146-
'select-text-format',
146+
'selected-text-format',
147147
'tick-icon',
148148
'custom-content',
149149
'disable-an-option',

docs/src/content/api/nya-bs-select.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ as element:
1414
[ng-required=""]
1515
[disabled=""]
1616
[size=""]
17-
[select-text-format=""]
17+
[selected-text-format=""]
1818
[title=""]>
1919
...
2020
</nya-bs-select>
@@ -31,7 +31,7 @@ as attribute:
3131
[ng-required=""]
3232
[disabled=""]
3333
[size=""]
34-
[select-text-format=""]
34+
[selected-text-format=""]
3535
[title=""]>
3636
...
3737
</ANY>
@@ -48,7 +48,7 @@ as class:
4848
[ng-required=""]
4949
[disabled=""]
5050
[size=""]
51-
[select-text-format=""]
51+
[selected-text-format=""]
5252
[title=""]>
5353
...
5454
</ANY>
@@ -101,7 +101,7 @@ as class:
101101
<td>Sets max number which the dropdown-menu can show. if the number of options exceed the limit. an scrollbar will be shown.</td>
102102
</tr>
103103
<tr>
104-
<td>select-text-format</td>
104+
<td>selected-text-format</td>
105105
<td><small class="label label-primary">string</small></td>
106106
<td>
107107
<span>Sets the content format of dropdown-toggle.</span>

docs/src/content/examples/select-text-format.md renamed to docs/src/content/examples/selected-text-format.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Select Text Format
1+
#Selected Text Format
22

3-
This is a feature borrowed from Bootstrap-select. Add an attribute `data-select-text-format` or `select-text-format` on `nya-bs-select` element. Then configure its value with the following formats:
3+
This is a feature borrowed from Bootstrap-select. Add an attribute `data-selected-text-format` or `select-texted-format` on `nya-bs-select` element. Then configure its value with the following formats:
44

55
- `values` A comma delimited list of selected values. (default)
66
- `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.

0 commit comments

Comments
 (0)