ly525 / material-vue-daterange-picker

a date-range-picker follows the Material Design spec powered by vue.js (alpha)
https://ly525.github.io/material-vue-daterange-picker/
MIT License
73 stars 20 forks source link

How to unlink calendars? #65

Open rotigithub opened 5 years ago

rotigithub commented 5 years ago

Hi!

I tried to unlink the calendars but I can't find any info in the documentation about this just that the default value of the linkedCalendar is true. How this works?

ly525 commented 5 years ago

@rotigithub I'm so sorry. I had a busy weekend. There's a problem with the documentation, I will implement the function as soon as possible(maybe this week)

Feel sorry about it

rotigithub commented 5 years ago

@rotigithub I'm so sorry. I had a busy weekend. There's a problem with the documentation, I will implement the function as soon as possible(maybe this week)

Feel sorry about it

Thank you! Another question: Is there any way to change the date format? (eg.: instead of 08/26/2019 I would like to 2019-08-26)

ly525 commented 5 years ago

@rotigithub I checked the code, the picker does not support format prop now, this feature can be done as soon as possible.

As a temp solution, you custom the input area with input slot, see more here: https://github.com/ly525/material-vue-daterange-picker/blob/ee4d5c8d1a11472174afe6d4e4612421c5e8b4d6/src/components/Picker.vue#L4

The truth is, I've been writing react.js for a while now, and the component hasn't been used recently, but it's been in use from the last week, so fixing those issues will be a high priority.