mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
fix triggering change event when item is chosen from autocomplete, fixes #1345
This commit is contained in:
@@ -154,7 +154,7 @@ export default class PromotedAttributesWidget extends TabAwareWidget {
|
|||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
$input.on('autocomplete:noteselected', e => this.promotedAttributeChanged(e))
|
$input.on('autocomplete:selected', e => this.promotedAttributeChanged(e))
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else if (definition.labelType === 'number') {
|
else if (definition.labelType === 'number') {
|
||||||
|
|||||||
Reference in New Issue
Block a user