V
V
vetsmen2018-01-19 00:38:56
Doctrine ORM
vetsmen, 2018-01-19 00:38:56

How to work with date in Vue.js?

Good day. There is a form:

<input id="date" type="date" :value="getStartDate">

I need that when the date is changed in the form, it also changes in my component, that is, in the start_day variable. The whole problem is that the input has a specific date input and output, which is not very clear to js. How can I do it?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dima Polos, 2018-01-19
@dimovich85

I will continue the topic, here I threw in a simple option: link .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question