From 0aec075a0da7af45f6476a43b49386615d82d8bc Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 1 Aug 2018 14:25:34 +0200 Subject: [PATCH] fix(SearchBox): use readOnly on text field if main component is disabled --- ui/modules/Common/Form/SearchBox.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/modules/Common/Form/SearchBox.qml b/ui/modules/Common/Form/SearchBox.qml index 040447c67..8f95f34e3 100644 --- a/ui/modules/Common/Form/SearchBox.qml +++ b/ui/modules/Common/Form/SearchBox.qml @@ -65,6 +65,7 @@ Item { id: searchField icon: 'search' + readOnly: !searchBox.enabled width: parent.width Keys.onEscapePressed: searchBox.closeMenu()