Validation errors when submitting guest comments break form submission

Description

Reproduce:

  1. Log out

  2. Find any work or admin post that allows guest comments

  3. Enter a comment, but leave out one of the required fields (name or email)

  4. Attempt to submit the comment

  5. Note the comment is not accepted, and the form validation points out the missing field (as expected)

  6. Note that the "Comment" button is now displayed as "Please wait..." and has not reverted

  7. Note that the comment form can no longer be submitted, the button doesn't do anything. (Refreshing the page will fix this, but you might lose your comment)

Activity

Show:
Sarken
November 18, 2020, 2:24 PM

I’m going to close this – we’re using as a catch-all for these issues, since the fix will have to apply to all cases.

Duplicate

Assignee

Unassigned

Reporter

tlee911

Roadmap

Comments

Priority

Medium

Affects versions

Fix versions

None

Components

FrontEnd

Difficulty

Medium

Milestone

Internal 0.9