Required field breaks form submit

Created on 7 August 2019, over 5 years ago
Updated 23 February 2024, 10 months ago

Problem/Motivation

How to reproduce:
* Have a required field
* Give it a text format using simplemde
* In the form, leave it empty and hit submit

Expected: Form error

Actual: No reaction

Setting critical thus.

In the JS console we see something like An invalid form control with name='comment_body[0][value]' is not focusable.

Proposed resolution

This is known upstream but looks like not likely to fixed any soon.

So add some fix here until fixed upstream.

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany geek-merlin Freiburg, Germany

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
  • Assigned to GuyPaddock
  • Status changed to Needs work 10 months ago
  • πŸ‡ΊπŸ‡ΈUnited States GuyPaddock

    No longer cleanly applies on 1.0.0-alpha5. Setting to NW.

  • Issue was unassigned.
  • Status changed to Closed: outdated 10 months ago
  • πŸ‡ΊπŸ‡ΈUnited States GuyPaddock

    Looks like the original issue is no longer reproducible even without a patch.

Production build 0.71.5 2024