Closed aviuz80 closed 5 years ago
Hi.
When a Datetime field has null value in the index view it's displayed as 'Invalid date'. In detail view it works and show '—'.
I think v-if/else is missing in resources/js/components/Index/DateTimeField.vue.
resources/js/components/Index/DateTimeField.vue
From:
<template> <span class="whitespace-no-wrap">{{ localizedDateTime }}</span> </template>
To:
<template> <span v-if="field.value" class="whitespace-no-wrap">{{ localizedDateTime }}</span> <span v-else>—</span> </template>
Thanx for reporing it. Fixed!
Hi.
When a Datetime field has null value in the index view it's displayed as 'Invalid date'. In detail view it works and show '—'.
I think v-if/else is missing in
resources/js/components/Index/DateTimeField.vue
.From:
To: