Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
promoted attr selection using autocomplete will trigger change event to save it, closes #699
zadamfb3876d28b22
diff --git a/src/public/app/widgets/promoted_attributes.js b/src/public/app/widgets/promoted_attributes.jsindex fb2c2c0d8c..e40740a3cf 100644--- a/src/public/app/widgets/promoted_attributes.js+++ b/src/public/app/widgets/promoted_attributes.js@@ -149,6 +149,8 @@ export default class PromotedAttributesWidget extends TabAwareWidget {cb(filtered);}}]);++ $input.on('autocomplete:selected', e => this.promotedAttributeChanged(e))});}else if (definition.labelType === 'number') {