strapi / design-system

Strapi.io's design system :rocket:
https://design-system.strapi.io
MIT License
472 stars 166 forks source link

[bug]: <DatePicker /> component autoComplete prop #1797

Open alexandermirzoyan opened 1 month ago

alexandermirzoyan commented 1 month ago

What version of design-system are you using?

What's Wrong?

When focusing on <DatePicker /> component browser's default auto complete feature is working and some options are being suggested from the browser browser.

DatePicker autoComplete screenshot

To Reproduce

Expected Behaviour

There should not be browser's default auto complete feature enabled.

alexandermirzoyan commented 1 month ago

As a solution I suggest to pass autoComplete="off" prop by default at packages/design-system/src/components/DatePicker/DatePicker.tsx file's <DatePickerTextInput /> component.

I will open a PR for this today.