added date and time attribute capability

This commit is contained in:
harishkumarchellappa
2023-07-10 17:24:34 +05:30
parent 05d2f4fe96
commit 7d6c847d47
3 changed files with 5 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ function parse(value) {
if (token === 'promoted') {
defObj.isPromoted = true;
}
else if (['text', 'number', 'boolean', 'date', 'url'].includes(token)) {
else if (['text', 'number', 'boolean', 'date', 'datetime', 'url'].includes(token)) {
defObj.labelType = token;
}
else if (['single', 'multi'].includes(token)) {