[Bug] HTML input validity messages are not displayed to users.
Categories
(GeckoView :: IME, defect)
Tracking
(Not tracked)
People
(Reporter: petru, Unassigned)
Details
From github: https://github.com/mozilla-mobile/fenix/issues/20136.
Howdy,
As far as I can tell
<input>
/etc validation messages are never displayed to users when<form>
s are submitted.It does appear to work in Firefox for desktop (MacOS).
element.checkValidity()
returnsfalse
.
element.validationMessage
has the correct message I would expect in the tooltip/bubble.
element.reportValidity()
returnsfalse
, but no report UI is presented to the user.Steps to reproduce
- Use the following HTML in a static HTML file
<form action="/" method="POST"> <input type="text" required="required"> <input type="submit"> </form>
- Press the submit button
Expected behavior
Expected a message like "Please fill out this field" to be displayed, and perhaps for field to be focused.
Screenshot from Firefox in MacOS:
Actual behavior
Form submission is blocked, no validity message is displayed, and field is not focused.
Device information
- Google Pixel 4a 5G, Android 11
- Firefox for Android version: 89.1.1
Change performed by the Move to Bugzilla add-on.
Updated•4 years ago
|
Comment 2•3 years ago
|
||
Moving some input bugs to the new GeckoView::IME component.
Description
•