def on_value_changed(self, text):
        """ Update text field """
        d = self.declaration
        with self.widget.get_member('text').suppressed(self.widget):
            d.text = text
Update text field