Allow typedInput timestamp to specify format

This commit is contained in:
Nick O'Leary
2023-12-04 16:55:42 +00:00
parent 6802539ccc
commit 711545539f
4 changed files with 40 additions and 4 deletions

View File

@@ -408,7 +408,30 @@
}
},
re: {value:"re",label:"regular expression",icon:"red/images/typedInput/re.svg"},
date: {value:"date",label:"timestamp",icon:"fa fa-clock-o",hasValue:false},
date: {
value:"date",
label:"timestamp",
icon:"fa fa-clock-o",
options:[
{
label: 'timestamp',
value: ''
},
{
label: 'ISO 8601',
value: 'iso'
},
{
value: 'YYYY-MM-DD HH:mm:ss'
},
{
value: 'YYYY-MM-DD'
},
{
value: 'HH:mm:ss'
},
]
},
jsonata: {
value: "jsonata",
label: "expression",