From a77b01d230f3a8ecc14a0bfdda4f833ff461e035 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 19 Mar 2020 18:00:35 +0800 Subject: [PATCH] bugfix --- kivyblocks/form.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kivyblocks/form.py b/kivyblocks/form.py index c3b2a73..d94b164 100644 --- a/kivyblocks/form.py +++ b/kivyblocks/form.py @@ -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 != '':