This commit is contained in:
yumoqing 2020-03-19 18:00:35 +08:00
parent df88bf4a6a
commit a77b01d230

View File

@ -283,6 +283,12 @@ class StrSearchForm(BoxLayout):
self.search.bind(on_press=self.submit_input)
self.inputwidget.bind(on_text_validate=self.submit_input)
def getData(self):
d = {
self.name:self.inputwidget.text
}
return d
def submit_input(self,o,v=None):
text = self.inputwidget.text
if text != '':