code: def init_widget(self):
          
          super(UiKitEditText, self).init_widget()
  
          #: Init font properties etc...
          self.init_text()
  
          d = self.declaration
          if d.placeholder:
              self.set_placeholder(d.placeholder)
          if d.input_type != 'text':
              self.set_input_type(d.input_type)
          if d.style:
              self.set_style(d.style)
  
          #: A really ugly way to add the target
          #: would be nice if we could just pass the block pointer here :)
          self.get_app().bridge.addTarget(
              self.widget,
              forControlEvents=UITextField.UIControlEventEditingChanged,
              andCallback=self.widget.getId(),
              usingMethod="onValueChanged",
              withValues=["text"]#,"selected"]
          )
  
          self.widget.onValueChanged.connect(self.on_value_changed)
docs: Bind the on property to the checked state