Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove display text on clicking outside dropdown list items #1801

Open
Anmay5525 opened this issue Nov 8, 2023 · 1 comment
Open

Remove display text on clicking outside dropdown list items #1801

Anmay5525 opened this issue Nov 8, 2023 · 1 comment
Labels
P1 Kinda Important

Comments

@Anmay5525
Copy link

Anmay5525 commented Nov 8, 2023

As of now when user types anything in autocomplete then clicks outside without selecting any option, the display value in the autocomplete persists, due to which users perceive that value got selected.

We can simply remove the typed value when user doesn't select an option. This will convey correct info to the user.

Ref thread: https://razorpay.slack.com/archives/CMQ3RBHEU/p1699340125716029

@saurabhdaware
Copy link
Member

We can simply remove the typed value when user doesn't select an option. This will convey correct info to the user.

I think for this, we have https://blade.razorpay.com/?path=/story/components-dropdown-with-autocomplete--clear-input-on-dismiss

What we might need is to remove the selection when user clicks outside with different value 🤔

@saurabhdaware saurabhdaware added the P1 Kinda Important label Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 Kinda Important
Projects
None yet
Development

No branches or pull requests

2 participants