Type
Date 1.0.0+
<date-picker type="date" />
The default value of type prop is "date"
Time 2.0.0+
<date-picker type="time" />
In the time range, the first time must be less than the second time.
<date-picker type="time" mode="single" />
I'm suggesting when using time, set the autoSubmit
value to false
.
See this here!
<date-picker type="time" :auto-submit="false" />
Datetime 2.0.0+
<date-picker type="datetime" />
<date-picker type="datetime" mode="single" />
I'm suggesting when using datetime, set the autoSubmit
value to false
.
See this here!
<date-picker type="datetime" :auto-submit="false" />