Is it possible to format a prop using a custom method that I've created?
I was hoping for something similar to this:
Here is an example of how I want to define my component:
props:{
title: String,
min: String,
formatedDate: this.formateDate(formatedDate)
}
When I use this component, the date starts as an empty string, but I plan to change that value using a date-picker.
Do you think this approach is feasible? Thank you in advance!