Skip to content

Commit 1372d1b

Browse files
committed
fix(MultiSelect): allow changing counter text because the selectionTypeCounterText option doesn't work
1 parent 2673df1 commit 1372d1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/src/multi-select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ class MultiSelect extends BaseComponent {
890890
}
891891

892892
if (this._config.multiple && this._config.selectionType === 'counter') {
893-
this._searchElement.placeholder = `${this._selected.length} item(s) selected`
893+
this._searchElement.placeholder = `${this._selected.length} ${this._config.selectionTypeCounterText}`
894894
}
895895
}
896896

0 commit comments

Comments
 (0)