Autocomplete value no remembered when updated through change event handler

By design Issue #10937817

Details

Author
aadil k.
Created
Feb 13, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

I have created a sample form and I am updating values of input element on change event .I have enabled autocomplete for the elements and on submission of form, the input fields are not getting remembered if i update the values on change event. I have also attached sample html for the same. This is working fine for chrome and firefox

Attachments

Comments and activity

  • Microsoft Edge Team

    Changed Status to “Confirmed”

    Changed Assigned To to “Brad E.”

    Changed Assigned To from “Brad E.” to “Steven K.”

  • Hello aadil,

    Thank you for your submission.  It helps us improve Edge.

    First, make sure that you have AutoComplete enabled for web forms with MS Edge.

    https://support.microsoft.com/en-us/instantanswers/c150cc25-ba25-4a61-b2bb-ff7820c4a975/autocomplete-web-forms-with-microsoft-edge

    There are two primary ways for Autocomplete.

    1. Allowing the browser to handle it via a regular form submission.
    2. Handling it yourself or using a third party library.

    In the example you provided, the form action and submit (function commented out) are most likely preventing the entries from being created in Edge’s AutoComplete storage.  I have provided a working example, not written by Microsoft or me but by Jason Grigsby.  I draw your attention to the first line of the <form …> definition and to the line before the end tag “</form>”

    https://codepen.io/grigs/pen/YqoyWv

    <form method="post" id="usrForm">

    <input type="submit" value="Submit" name="submit">

    Also, providing the HTML specification link for autofill:

    https://html.spec.whatwg.org/multipage/forms.html#autofill

    Appreciate the help,

    The MS Edge Team

  • Microsoft Edge Team

    Changed Status from “Confirmed” to “By design”

  • Hi Aadil,

    Since I have not heard back from you, I am resolving this issue as no repro.  Let me know if you disagree and hope we were of some help.
    Thanks again for the submission and supporting Edge,

    The MS Edge Team

You need to sign in to your Microsoft account to add a comment.

Sign in