[Vuejs]-How do I display a formatted date in Vue while populating input boxes

1👍

You should use the toDate() method of the Timestamp.

You can either call this method when you populate the v.date value (after fetching the data from Firestore I guess) or by doing

<input type="text" id="Example" :value="v.date.toDate()" spellcheck="false">

Leave a comment