mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	added relation name autocomplete to relation map connection creation
This commit is contained in:
		| @@ -236,7 +236,7 @@ async function showDialog() { | ||||
| $dialog.on('focus', '.attribute-name', function (e) { | ||||
|     attributeAutocompleteService.initAttributeNameAutocomplete({ | ||||
|         $el: $(this), | ||||
|         attrTypeFunc: () => { | ||||
|         attributeType: () => { | ||||
|             const attribute = attributesModel.getTargetAttribute(this); | ||||
|             return (attribute().type === 'relation' || attribute().type === 'relation-definition') ? 'relation' : 'label'; | ||||
|         }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user