admin管理员组文章数量:1291518
I am using vuepic/vue-date-picker month-picker (picked), I try to disable the months other than the current and previous month but I am unable to do that. Styles are not applied. what is the mistack in this?
<vue-date-picker :enable-time-picker="false" v-model="reportFromDate" type="month" :format="'MMM yyyy'" :editable="false" :clearable="false" :disabled-dates="disabledDates" popup-class="month-picker rounded custom"
auto-apply month-picker></vue-date-picker>
disabledDates(date) {
return date >= new Date() || date <= moment(new Date()).subtract(2, "months").endOf("month")
},
I am expecting the disabling of months
本文标签:
版权声明:本文标题:I am using vuepicvue-date-picker- month-picker. disabled-dates styles are not applying? how to achieve that? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741532193a2383821.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论