Character counter is set to 0 by default and cannot submit text with any feedback

VERIFIED FIXED in 3.1

Status

Input
General
P1
critical
VERIFIED FIXED
7 years ago
6 years ago

People

(Reporter: aakashd, Assigned: wenzel)

Tracking

({regression})

Trunk
regression

Details

(Reporter)

Description

7 years ago
Steps to Reproduce:
1. Go to input.stage.mozilla.com/feedback (with a UA of 3.6.13 or whatever the latest version of 3.6.x is)
2. Click on "Report a Broken Website"

Actual Results:
The character counter is set to 0. The idea submission form has the same issue and users can't submit any feedback.

Expected Results:
The character counter is set to 140.
(Assignee)

Comment 1

7 years ago
I tracked down the regression, it was commit 0999c8c that moved the max_length attribute form the feedback form into an attribute on the description field. That's the right place for it to go, but the JS code does not expect that yet.
(Assignee)

Comment 2

7 years ago
I fixed it and added unit tests to make sure the data attribute is filled correctly in both the beta and release view:

http://github.com/fwenzel/reporter/commit/da474cb

QA: You might want to add a selenium test that makes sure the submission buttons stay enabled for a small variety of input lengths.
Assignee: nobody → fwenzel
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Verified character count is set correctly for report a broken website and share an idea
Status: RESOLVED → VERIFIED
Flags: in-testsuite?
Component: Input → General
Product: Webtools → Input
You need to log in before you can comment on or make changes to this bug.