We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b903b0a commit f2ba136Copy full SHA for f2ba136
ui/src/components/date/QDate.js
@@ -696,7 +696,13 @@ export default Vue.extend({
696
697
methods: {
698
setToday () {
699
- this.__toggleDate(this.today, this.__getMonthHash(this.today))
+ const date = this.today
700
+ const month = this.daysMap[this.__getMonthHash(date)]
701
+
702
+ if (month === void 0 || month.includes(date.day) === false) {
703
+ this.__addToModel(date)
704
+ }
705
706
this.setCalendarTo(this.today.year, this.today.month)
707
},
708
0 commit comments