DEV: Use caret up/down as they are computed values
This commit is contained in:
parent
a655a009fa
commit
57bcb55887
|
|
@ -73,6 +73,7 @@ export default Controller.extend(ModalFunctionality, {
|
|||
|
||||
@action
|
||||
handleTextAreaKeydown(value, event) {
|
||||
console.log(event);
|
||||
if ((event.ctrlKey || event.metaKey) && event.key === "Enter") {
|
||||
this.assign();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
onChange=(action "assignUsername")
|
||||
autofocus="autofocus"
|
||||
showUserStatus=true
|
||||
caretIcon="search"
|
||||
options=(hash
|
||||
mobilePlacementStrategy="absolute"
|
||||
filterPlaceholder=placeholderKey
|
||||
|
|
@ -21,6 +20,8 @@
|
|||
autofocus=autofocus
|
||||
tabindex=1
|
||||
expandedOnInsert=(not assigneeName)
|
||||
caretUpIcon="search"
|
||||
caretDownIcon="search"
|
||||
)
|
||||
}}
|
||||
{{#if this.assigneeError}}
|
||||
|
|
@ -72,4 +73,4 @@
|
|||
disabled=disabled
|
||||
}}
|
||||
<DModalCancel @close={{route-action "closeModal"}} />
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue