Update API doc

pull/4649/head
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() { getSelectedItemsLabel() {
let pattern = /{(.*?)}/; let pattern = /{(.*?)}/;
const selectedItemsLabel = this.$primevue.config.locale.selectionMessage || this.selectedItemsLabel const selectedItemsLabel = this.$primevue.config.locale.selectionMessage || this.selectedItemsLabel;
if (pattern.test(selectedItemsLabel)) { if (pattern.test(selectedItemsLabel)) {
return selectedItemsLabel.replace(selectedItemsLabel.match(pattern)[0], this.modelValue.length + ''); return selectedItemsLabel.replace(selectedItemsLabel.match(pattern)[0], this.modelValue.length + '');
} }

View File

@ -36572,6 +36572,14 @@
"type": "boolean", "type": "boolean",
"default": "false", "default": "false",
"description": "When enabled, it removes component related styles in the core." "description": "When enabled, it removes component related styles in the core."
},
{
"name": "closeOnEscape",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "true",
"description": "Specifies if pressing escape key should hide the dialog."
} }
], ],
"methods": [] "methods": []