vue-date-range | vue component for choosing dates | Date Time Utils library
kandi X-RAY | vue-date-range Summary
kandi X-RAY | vue-date-range Summary
A vue component for choosing dates and date ranges. Uses Moment.js for date operations.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vue-date-range
vue-date-range Key Features
vue-date-range Examples and Code Snippets
Community Discussions
Trending Discussions on vue-date-range
QUESTION
I am using vue-date-range
date picker. Here I am using disabledStart
and disabledEnd
props but its not disabling date on view. For disabling date it required an object. I am passing the object but it doesn't work.I don't know what is the correct object format for disabling the dates.
Any help would be appreciated Plugin link https://www.npmjs.com/package/vue-date-range
Here is HTML
...ANSWER
Answered 2017-Aug-21 at 07:29As Phil pointed out, after looking into the source code of this library, I can confirm that the object used is moment.js
's date object.
So just pass moment.js
's date object to days-disabled-start
and days-disabled-end
.
See demo below.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vue-date-range
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page