shubhadip / vuejs3-datepicker

vue 3 datepicker. supports disabling, highlighting of dates and programmatic access of date.
https://vuejs3-datepicker.netlify.app/
MIT License
70 stars 43 forks source link

How can I hide the text below input datepicker? #21

Closed duyetvn closed 3 years ago

duyetvn commented 3 years ago
Screen Shot 2021-06-21 at 11 37 48

How can I hide text Default?

My component:

<template>
    <datepicker :value="dateSelected" name="uniquename"></datepicker>
  </template>

<script>
// import { defineComponent } from 'vue'
import Datepicker from 'vuejs3-datepicker';
  import { ref } from 'vue';

export default ({
  name: 'HelloI18n',
  setup(){
      const dateSelected = ref(new Date())
      return {
        dateSelected
      }
    },
  components: {
    Datepicker
  }
})
</script>
duyetvn commented 3 years ago

I found the solution

<datepicker :value="dateSelected" name="uniquename">
    <template v-slot:belowDate>
      <span></span>
    </template>
</datepicker>