feat: add tag on dropdown option click

This commit is contained in:
Antonella Sgarlatta
2021-05-24 19:07:07 -03:00
parent e2585200ac
commit a8d6080a6f
3 changed files with 28 additions and 25 deletions

View File

@@ -48,21 +48,10 @@
ng-style="self.notesLocked && {'pointer-events' : 'none'}",
application='self.application'
)
div.flex
note-tags(
application='self.application'
app-state='self.appState'
)
input.tags-input(
ng-blur='self.onTagsInputBlur()',
ng-disabled='self.noteLocked',
ng-if='!self.state.tagsComponent',
ng-keyup='$event.keyCode == 13 && $event.target.blur();',
ng-model='self.editorValues.tagsInputValue',
placeholder='#tags',
spellcheck='false',
type='text'
)
note-tags(
application='self.application'
app-state='self.appState'
)
div.flex.items-center
#save-status
.message(