Skip to content

Expose autocomplete attribute for Kendo TextBox #8168

@PMcDonough11

Description

@PMcDonough11

Enhancement

Expose autocomplete attribute for Kendo TextBox

Overview

Upon initializing the Kendo UI TextBox, the autocomplete attribute is initially set to off.

Image

While this is suggested on MDN in most scenarios, there are use-cases where it is necessary to set autocomplete to new-password to avoid auto-filling.

Desired Behavior

Extend the API to allow setting the autocomplete attribute. This could be done in a similar way as the inputMode configuration.

Workaround

Use jQuery attr method to set the item in the Ready event

   $(function(){
     $('#textBox').attr('autocomplete', 'new-password');
   });

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions