mirror of
https://github.com/directus/directus.git
synced 2026-01-31 14:07:56 -05:00
Fix datetime interface displayvalue not initializing on load
Fixes #3137, fixes #3252
This commit is contained in:
@@ -256,7 +256,7 @@ export default defineComponent({
|
||||
function useDisplayValue() {
|
||||
const displayValue = ref<string | null>(null);
|
||||
|
||||
watch(_value, setDisplayValue);
|
||||
watch(_value, setDisplayValue, { immediate: true });
|
||||
|
||||
return { displayValue };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user