Answer the question
In order to leave comments, you need to log in
How to format input type date?
there is input type="date"
<div class="form-group">
<input id="birthdayI" v-model="$v.customerIndividual.birthday.$model" type="date" placeholder="Дата рождения"
class="form-control form-control-lg main-text" >
<p v-if="errors" class="error">
<span v-if="!$v.customerIndividual.birthday.required">Это поле обязательно к заполнению</span>
</p>
</div>
:formatter="format"
format(value, event) {
return moment(value).format('YYYY-MM-DD')
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question