def METHOD_NAME(self):
    """Handles a clear field event."""
    self.value = ""
    # Need to manually update editor because the update to the value
    # won't get transferred to toolkit object due to loopback protection.
    self.update_editor()