Commit 356634e9 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(ui/modules/Common/Form/SearchBox): reset search field text at close event

parent 33b9ad95
......@@ -3,8 +3,6 @@ import QtQuick 2.7
import Common 1.0
import Utils 1.0
// =============================================================================
// Specific GNU/Linux version of `SearchBox` component.
// =============================================================================
Item {
......@@ -141,7 +139,9 @@ Item {
ScriptAction {
script: {
menu.close()
searchField.focus = false
searchField.text = ''
searchBox.menuClosed()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment