We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4ab12c commit e52bb06Copy full SHA for e52bb06
src/components/PickerHeader.vue
@@ -3,7 +3,7 @@
3
<span
4
class="prev"
5
:class="{ disabled: isPreviousDisabled, rtl: isRtl }"
6
- @click="$emit('page-change', -1)"
+ @click="isPreviousDisabled ? null : $emit('page-change', -1)"
7
>
8
<slot name="prevIntervalBtn">
9
<span class="default"><</span>
@@ -13,7 +13,7 @@
13
14
class="next"
15
:class="{ disabled: isNextDisabled, rtl: isRtl }"
16
- @click="$emit('page-change', 1)"
+ @click="isNextDisabled ? null : $emit('page-change', 1)"
17
18
<slot name="nextIntervalBtn">
19
<span class="default">></span>
0 commit comments