How to make to clear dropdown text after input?

50 views
Skip to first unread message

Uxmar

unread,
Nov 14, 2013, 9:04:44 PM11/14/13
to kivy-...@googlegroups.com
I have two texts, I need that after selecting the data and press button to process, returning the text fields are empty.

Anyone know how to do this?

How to make to clear dropdown text after input?

ZenCODE

unread,
Nov 15, 2013, 6:00:55 PM11/15/13
to kivy-...@googlegroups.com
Hi

Sorry, but I think question here is hard to understand.

    http://kivy.org/docs/api-kivy.uix.dropdown.html?highlight=dropdown#kivy.uix.dropdown

So, to clear a textinput after selection,

 dropdown.bind(on_select=lambda instance, x: button.text = '')

If this doesn't help, perhaps post a snipit showing what you are trying to do...;-)

Cheers

Reply all
Reply to author
Forward
0 new messages