mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 06:45:49 +01:00
Add label definition type for standalone time
This commit is contained in:
@@ -225,6 +225,9 @@ export default class PromotedAttributesWidget extends NoteContextAwareWidget {
|
||||
else if (definition.labelType === 'datetime') {
|
||||
$input.prop('type', 'datetime-local')
|
||||
}
|
||||
else if (definition.labelType === 'time') {
|
||||
$input.prop('type', 'time')
|
||||
}
|
||||
else if (definition.labelType === 'url') {
|
||||
$input.prop("placeholder", t("promoted_attributes.url_placeholder"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user