Update fake content node data to use the additional datatypes for dates and also given them a set value to start init render with

This commit is contained in:
Warren Buckley
2023-02-01 14:58:42 +00:00
parent 9791af94e8
commit de4e9b5a92

View File

@@ -93,6 +93,18 @@ export const data: Array<DocumentDetails> = [
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<DocumentDetails> = [
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: [],
},
{