mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 14:25:51 +01:00
added date and time attribute capability
This commit is contained in:
@@ -197,6 +197,9 @@ export default class PromotedAttributesWidget extends NoteContextAwareWidget {
|
||||
else if (definition.labelType === 'date') {
|
||||
$input.prop("type", "date");
|
||||
}
|
||||
else if (definition.labelType === 'datetime') {
|
||||
$input.prop('type', 'datetime-local')
|
||||
}
|
||||
else if (definition.labelType === 'url') {
|
||||
$input.prop("placeholder", "http://website...");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user