Closed duyetvn closed 3 years ago
How can I hide text Default?
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>
I found the solution
<datepicker :value="dateSelected" name="uniquename"> <template v-slot:belowDate> <span></span> </template> </datepicker>
How can I hide text
Default
?My component: