code: public void clearInput() {
          Log.v(TAG, "Input cleared and validation errors removed");
          input.setText("");
          hasValidInput = true;
          updateBorder();
          showPasswordToggle.setChecked(false);
      }
docs: Removes any text present on the input field and clears any validation error, if present.