Handle field autofilled highlight when user filled value matches the default value of a field
Categories
(Toolkit :: Form Autofill, defect, P3)
Tracking
()
People
(Reporter: tgiles, Unassigned)
References
Details
As part of Bug 1687684, form autofill will overwrite a site's prefilled value when selecting an autocomplete option for credit card or address. In most cases, the autofilled highlight works as expected with this new behavior. However, there is one particular case that stands out.
If you clear the site prefilled field and end up re-entering the default value for that field (say you accidentally cleared your cc number or something), then we will overwrite (effectively not changing the value since the current value is the same as the default value) the value and add the autofilled highlight to the field. This is divergent behavior for a field that has been interacted with, since normally a user interacted field will not be eligible for autofill. I'm not sure what the expected behavior is in this case, but it's something worth noting.
| Reporter | ||
Comment 1•4 years ago
|
||
Adding S4 since this is cosmetic.
Description
•