properly handle empty text entry fields (including transformations)
This commit is contained in:
@@ -246,7 +246,7 @@ function page:eventHandler(event)
|
||||
Config.update('miloRemote', context.state)
|
||||
|
||||
elseif event.type == 'text_change' and event.element == self.statusBar.filter then
|
||||
self.filter = event.text
|
||||
self.filter = event.text or ''
|
||||
if #self.filter == 0 then
|
||||
self.filter = nil
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user