mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
JumpToPageInput fixed
This commit is contained in:
parent
2d90cf5227
commit
6530cc61b0
1 changed files with 6 additions and 3 deletions
|
@ -24,11 +24,14 @@ export default {
|
|||
if (this.$refs.jtpInput && !this.$refs.jtpInput.focused) return;
|
||||
|
||||
this.$emit('page-change', newValue - 1);
|
||||
},
|
||||
page: {
|
||||
handler(newValue) {
|
||||
this.d_page = newValue;
|
||||
},
|
||||
immediate: true
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.d_page = this.page;
|
||||
},
|
||||
computed: {
|
||||
inputArialabel() {
|
||||
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.jumpToPageInputLabel : undefined;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue