axa-ch-webhub-cloud / pattern-library

AXA CH UI component library. Please share, comment, create issues and work with us!
https://axa-ch-webhub-cloud.github.io/plib-feature/develop
125 stars 18 forks source link

Introduce prop for changing autocomplete attribute #2364

Closed AarKro closed 1 year ago

AarKro commented 1 year ago

Some of our users have trouble using the browsers form autocomplete features, so we want to be able to set the autocomplete attribute on inputs to make sure this works smoothly.

Currently this seems to be set to off by default, with no way for us to change it.

Maybe a possible solution would be to introduce a prop to pass the autocomplete value into a component, while having it default to off.

MKaHead commented 1 year ago

Thank you for the suggestion @AarKro. It is legitimate to have an attribute to activate it. A solution for the inputs will come soon.