Add Ctrl+Enter to save comment
This commit is contained in:
parent
cff9be1987
commit
fb3d99c4dc
@ -258,6 +258,7 @@
|
|||||||
{{ strings['boards_taskDescription'] }}
|
{{ strings['boards_taskDescription'] }}
|
||||||
<textarea name="description" rows="5"
|
<textarea name="description" rows="5"
|
||||||
[placeholder]="strings['boards_taskDescriptionPlaceholder']"
|
[placeholder]="strings['boards_taskDescriptionPlaceholder']"
|
||||||
|
(keyup.control.enter)="modalProps.id === 0 ? addTask() : updateTask()"
|
||||||
(keyup.enter)="preventEnter($event)"
|
(keyup.enter)="preventEnter($event)"
|
||||||
[(ngModel)]="modalProps.description"></textarea>
|
[(ngModel)]="modalProps.description"></textarea>
|
||||||
</label>
|
</label>
|
||||||
|
Reference in New Issue
Block a user