Closed Bug 652059 Opened 15 years ago Closed 15 years ago

no validations happens with invalid date input when end date is lower than start date

Categories

(Input :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: pratibha, Unassigned)

References

()

Details

Litmus test case:https://litmus.mozilla.org/show_test.cgi?searchType=by_id&id=13613 Steps: ------- 1)Load http://input.mozilla.com/en-US/beta 2)Click on Custom button and input dates as follows: -start date = 04/22/2011 -End date = 04/20/2011 ie End date is lower than start date 3)Click on "Set" button Expected Result: No results should be found, and an error message is expected here stating invalid date range(with end date value) Actual Result:Results are shown till current date Note: In Google Chrome: date fields are validated and "Invalid Value" is displayed.These validations are not happening in FF browser Another ex: start date: greater than today's date
Thanks for testing Firefox Input! You actually caught an error in our Litmus testcase. The expected result in Input is that the two dates get flipped automatically. If this does not happen, then something is going wrong. We don't currently show an error message. For more info see bug 652057.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
Component: Input → General
Product: Webtools → Input
You need to log in before you can comment on or make changes to this bug.