diff --git a/src/components/jero/JDate.vue b/src/components/jero/JDate.vue index e9c86c8..04ea891 100644 --- a/src/components/jero/JDate.vue +++ b/src/components/jero/JDate.vue @@ -9,7 +9,7 @@ :placeholder="placeholder" @change="handleDateChange" :value="momVal" - :showTime="true" + :showTime="showTime" :format="dateFormat" v-bind="$attrs" v-on="childListeners" @@ -24,7 +24,7 @@ :placeholder="placeholder" @change="handleDateChange" :value="momVal" - :showTime="false" + :showTime="showTime" :format="dateFormat" v-bind="$attrs" v-on="childListeners" @@ -98,6 +98,10 @@ getCalendarContainer: { type: Function, default: (node) => node.parentNode + }, + showTime:{ + type: [Boolean, Object], + default: false } }, data () {