Open Bug 1759419 Opened 3 years ago Updated 3 years ago

[DE][tchibo.de] Exp Month and Year dropdowns are not reset accordingly after manually saving a CC

Categories

(Toolkit :: Form Autofill, defect, P3)

Desktop
All
defect

Tracking

()

Tracking Status
firefox98 --- disabled
firefox99 --- disabled
firefox100 --- disabled

People

(Reporter: ailea, Unassigned)

References

(Blocks 2 open bugs, )

Details

Attachments

(1 file)

Attached video 2022-03-11_12h01_46.mp4

Affected Versions:

Release 98, Beta 99 and the latest Nightly 100.0a1

Tested on:

MacOS 11
Windows 10

Preconditions:

download latest Firefox Nightly with region locale
browser.search.region DE

Steps to reproduce:

  1. Reach the payment form on tchibo.de
  2. Fill in all the CC fields and manually save/capture a new CC.
  3. Refresh the page and using the autofill feature, click in any CC field, select any CC dropdown entry in order to autofill the fields.
  4. Click in any autofilled field and select "clear form" option from the CC dropdown.

Expected Results:

  1. The CC expiry date dropdown values should be reset properly to MM/JJJJ or 01/2022.

Actual Results:

  1. The CC expiry date dropdown values are reset to the previously saved CC expiry date.

Note:

If I choose "Clear Form" without submitting a new CC before, it works as expected and the expiry date is reset to 01/2022.

Priority: -- → P3

The reason the fields aren't being reset to the first respective element (01/2022 currently) is because after submitting the form, the form sets the previously submitted values as the selected options. Since there are selected options set in the markup, we reset to those options as opposed to the first options. This is because the selected attribute "indicates that the option is initially selected". I would argue this is expected behavior and thus WONTFIX.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: