feat(ui/modules/Common/DroppableTextArea): force active focus on creation

This commit is contained in:
Ronan Abhamon 2017-01-05 14:58:09 +01:00
parent 2a3680ec72
commit 6b2a7a12e4

View file

@ -58,6 +58,7 @@ Item {
selectByMouse: true
wrapMode: TextArea.Wrap
Component.onCompleted: forceActiveFocus()
Keys.onReturnPressed: text.length !== 0 && validText(text)
}
}