JumpToPageInput fixed

pull/3539/head
Bahadır Sofuoğlu 2023-01-16 13:54:20 +03:00
parent 2d90cf5227
commit 6530cc61b0
1 changed files with 6 additions and 3 deletions

View File

@ -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;