Skip to content

Usability: clicking anywhere on login screen except email field spawns an email error message #1435

Closed
@ketang

Description

@ketang

OS Information

  • OS:
  • Browser: Chrome Version 99.0.4844.74 (Official Build) (64-bit)
  • Architecture: x86-64
  • coder --version: Coder v0.0.0-devel+9410237

Steps to Reproduce

  1. go to https://dev.coder.com/ when not logged in
  2. click anywhere on the page (except the email field) or in the URL bar

Expected

The "Please enter an email address" message should only fire if you try to submit the form with an empty email address. It should definitely not fire if you're navigating away.

Actual

The Email field is highlighted in red, and you see the message "Please enter an email address." This happens even if you're navigating away, e.g. clicking the GitHub button or the version string link.

image

Metadata

Metadata

Assignees

Labels

siteArea: frontend dashboard

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions