Working with timestamps

You can try with ternary operator. It would be something like this:

item.data.value ? formatdate(item.data.value) : 'pick a date'

2 Likes