Skip to content

Commit b0cc744

Browse files
author
pkempenaers
committed
Merge branch 'develop'
2 parents 250aeed + b6a265a commit b0cc744

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/component/dropdownTree.controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@
249249

250250
getButtonText() {
251251
if (angular.isFunction(this.settings.getButtonText)) {
252-
return this.settings.getButtonText(this.selectedOptions, this.options);
252+
return this.settings.getButtonText(this.selectedOptions, this.options, this.texts);
253253
}
254254
if (this.selectedOptions.length === 0) {
255255
return `Select ${this.texts.optionNames}`;

src/app/main/main.template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ <h3>Settings</h3>
258258
<td>undefined</td>
259259
<td>function</td>
260260
<td>
261-
Should return the string that you want to display in the dropdown toggle. Is called with as first argument the current selection and second argument the selection-array.
261+
Should return the string that you want to display in the dropdown toggle. Is called with as first argument the current selection, second argument the selection-array and third argument the texts object.
262262
</td>
263263
</tr>
264264
</tbody>

0 commit comments

Comments
 (0)