code: def on_event_pre(self, e: Event) -> None:
          
          super().on_event_pre(e)
          ct_msg = e.init.get('currentTarget', dict())
          if e.type in ('input', 'change'):
              # Update user inputs
              self._set_text_content(ct_msg.get('value') or '')
docs: Set values set on browser before calling event listeners.