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
|
@action
|
||||||
handleTextAreaKeydown(value, event) {
|
handleTextAreaKeydown(value, event) {
|
||||||
|
console.log(event);
|
||||||
if ((event.ctrlKey || event.metaKey) && event.key === "Enter") {
|
if ((event.ctrlKey || event.metaKey) && event.key === "Enter") {
|
||||||
this.assign();
|
this.assign();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@
|
||||||
onChange=(action "assignUsername")
|
onChange=(action "assignUsername")
|
||||||
autofocus="autofocus"
|
autofocus="autofocus"
|
||||||
showUserStatus=true
|
showUserStatus=true
|
||||||
caretIcon="search"
|
|
||||||
options=(hash
|
options=(hash
|
||||||
mobilePlacementStrategy="absolute"
|
mobilePlacementStrategy="absolute"
|
||||||
filterPlaceholder=placeholderKey
|
filterPlaceholder=placeholderKey
|
||||||
|
|
@ -21,6 +20,8 @@
|
||||||
autofocus=autofocus
|
autofocus=autofocus
|
||||||
tabindex=1
|
tabindex=1
|
||||||
expandedOnInsert=(not assigneeName)
|
expandedOnInsert=(not assigneeName)
|
||||||
|
caretUpIcon="search"
|
||||||
|
caretDownIcon="search"
|
||||||
)
|
)
|
||||||
}}
|
}}
|
||||||
{{#if this.assigneeError}}
|
{{#if this.assigneeError}}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue