formio / angular

JSON powered forms for Angular
https://formio.github.io/angular-demo
MIT License
636 stars 470 forks source link

[BUG] Formio autocomplete option in form builder not working #808

Closed swapnil147 closed 8 months ago

swapnil147 commented 3 years ago

Environment

Please provide as many details as you can:

Steps to Reproduce

Go to the official demo page https://formio.github.io/angular-demo/#/forms/builder

  1. Create Name field with type textfield and autocomplete as off
  2. Create Address field with type textfield and autocomplete as off
  3. Create a Phone number field with type number and autocomplete as off

Expected behavior

Autocomplete feature should be disabled and there should be no suggestions to autofill the fields

Observed behavior

Autocomplete feature is still enabled and having suggestions to autofill the fields

Autocomplete

image

Example

For code or form JSON, please enclose in a code block:

{
    "components": [
        {
            "label": "Name",
            "autocomplete": "off",
            "tableView": true,
            "key": "name",
            "type": "textfield",
            "input": true
        },
        {
            "label": "Address",
            "autocomplete": "off",
            "tableView": true,
            "key": "address",
            "type": "textfield",
            "input": true
        },
        {
            "label": "Phone number",
            "autocomplete": "off",
            "mask": false,
            "spellcheck": true,
            "tableView": false,
            "delimiter": false,
            "requireDecimal": false,
            "inputFormat": "plain",
            "key": "phoneNumber",
            "type": "number",
            "input": true
        },
        {
            "type": "button",
            "label": "Submit",
            "key": "submit",
            "disableOnInvalid": true,
            "input": true,
            "tableView": false
        }
    ]
}

Note: to replicate the issue you should have the information stored in the chrome browser. Step1: Open chrome browser settings Step2: Type Autofill and fill the details in Address and more.

Let me know if I am missing anything.

Thank you!!!

lane-formio commented 8 months ago

We're currently addressing a backlog of GitHub issues, and as part of this effort, some inactive issues may be marked as closed. This isn't a dismissal, but a step toward more efficient tracking.

If you feel the issue is still relevant, please re-open and we'll ensure it gets the attention it deserves. Your understanding is appreciated as we work to enhance our open-source responsiveness.