How to pass the date in the DatePicker Vuetify?

Yuzayu this datapicker.
With servers coming:
users:[{"id":"1","name":"test_name","birthday":"21-02-2020","phone":"2222222222"}]

jsfiddle - with date picker
Well, the question is: how to display in this datepicker a date that comes from the server?
April 7th 20 at 15:29
3 answers
April 7th 20 at 15:31
Solution
The server should return a date in the format "2020-02-17"
Thank you - Moriah.Cruickshank commented on April 7th 20 at 15:34
April 7th 20 at 15:33
Solution
Thank you - Moriah.Cruickshank commented on April 7th 20 at 15:36
April 7th 20 at 15:35
Solution
Do getter with formatted dates form(for this you can use date-fns, or native Date)
later, the computed mapishi getter(mapGetters) and pass in the date-picker these if you need to dynamically change them then inside a computed getter and setter methods, If any, vuex not, then do it all in c computed setter'om

Find more questions by tags Vue.js