Update API doc

This commit is contained in:
GitHub Actions Bot 2023-10-17 07:47:01 +00:00
parent 366f136639
commit b4eec67ef8
2 changed files with 9 additions and 1 deletions

View file

@ -770,7 +770,7 @@ export default {
},
getSelectedItemsLabel() {
let pattern = /{(.*?)}/;
const selectedItemsLabel = this.$primevue.config.locale.selectionMessage || this.selectedItemsLabel
const selectedItemsLabel = this.$primevue.config.locale.selectionMessage || this.selectedItemsLabel;
if (pattern.test(selectedItemsLabel)) {
return selectedItemsLabel.replace(selectedItemsLabel.match(pattern)[0], this.modelValue.length + '');
}