Hi,
I have two TextInput widgets that call the same function the only difference is which of the 2 Textinput is calling it which I can easily achieve by passing an additional argument to the callback. Something like:
self._labelfilter = TextInput()
self._labelfilter.on_change('value_input', self._apply_filter('label'))
Is it possible to do this, or I have to write 2 different callbacks with a 3rd function for the common code?
Many thanks