mirror of
https://github.com/kepler155c/opus
synced 2025-11-10 20:43:03 +00:00
properly handle empty text entry fields (including transformations)
This commit is contained in:
@@ -81,7 +81,7 @@ function page:eventHandler(event)
|
||||
end
|
||||
|
||||
elseif event.type == 'text_change' then
|
||||
if #event.text == 0 then
|
||||
if not event.text then
|
||||
self.grid.values = topics
|
||||
else
|
||||
self.grid.values = { }
|
||||
|
||||
Reference in New Issue
Block a user