vue-datepicker icon indicating copy to clipboard operation
vue-datepicker copied to clipboard

Allow customisation of placeholders within the picker header

Open knash94 opened this issue 4 years ago • 1 comments

Hey @mathieustan, firstly great work on this plugin. It's nice to have a single date picker that supports the selection of months, quarters & years.

I'm having a slight issue with customizing the placeholders that are displayed on the date picker window when no value is selected. These are currently defaulting to - & --. Would it be possible to add a prop that could override the default placeholder, or alternatively a way to add classes to the date picker window?

image

Thanks and keep up the hard work

knash94 avatar Feb 11 '21 10:02 knash94

@knash94 I have the same issue. A workaround is to set the property as new Date().

  data: function() {
    return {
      dob: new Date(),
      dateChanged: false
    }
  },

So it will have a value to show:

image

alejandrosobko avatar Jul 28 '21 17:07 alejandrosobko