mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
bring back "create and link note" into more places, fixes #1653
This commit is contained in:
@@ -279,7 +279,7 @@ export default class AttributeDetailWidget extends TabAwareWidget {
|
||||
this.$rowTargetNote = this.$widget.find('.attr-row-target-note');
|
||||
this.$inputTargetNote = this.$widget.find('.attr-input-target-note');
|
||||
|
||||
noteAutocompleteService.initNoteAutocomplete(this.$inputTargetNote)
|
||||
noteAutocompleteService.initNoteAutocomplete(this.$inputTargetNote, {allowCreatingNotes: true})
|
||||
.on('autocomplete:noteselected', (event, suggestion, dataset) => {
|
||||
if (!suggestion.notePath) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user