From de4e9b5a9243504650cafd2f43bf83da088ddb90 Mon Sep 17 00:00:00 2001 From: Warren Buckley Date: Wed, 1 Feb 2023 14:58:42 +0000 Subject: [PATCH] Update fake content node data to use the additional datatypes for dates and also given them a set value to start init render with --- .../src/core/mocks/data/document.data.ts | 27 ++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/core/mocks/data/document.data.ts b/src/Umbraco.Web.UI.Client/src/core/mocks/data/document.data.ts index 8444749474..0a30fc13a5 100644 --- a/src/Umbraco.Web.UI.Client/src/core/mocks/data/document.data.ts +++ b/src/Umbraco.Web.UI.Client/src/core/mocks/data/document.data.ts @@ -93,6 +93,18 @@ export const data: Array = [ description: '', dataTypeKey: 'dt-datePicker', }, + { + alias: 'datePickerTime', + label: 'Date Picker with Time', + description: 'Now with time', + dataTypeKey: 'dt-datePicker-time', + }, + { + alias: 'time', + label: 'Time', + description: 'Just time', + dataTypeKey: 'dt-time', + }, { alias: 'email', label: 'Email', @@ -244,7 +256,20 @@ export const data: Array = [ dataTypeKey: 'dt-userPicker', }, ], - data: [], + data: [ + { + alias: 'datePicker', + value: '2023-12-24' + }, + { + alias: 'datePickerTime', + value: '2023-12-24 14:52' + }, + { + alias: 'time', + value: '14:52:00' + }, + ], variants: [], }, {