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

Autocomplete downshift delete text #17409

Closed
2 tasks done
Angelk90 opened this issue Sep 12, 2019 · 3 comments
Closed
2 tasks done

Autocomplete downshift delete text #17409

Angelk90 opened this issue Sep 12, 2019 · 3 comments
Labels
component: autocomplete This is the name of the generic UI component, not the React module! support: Stack Overflow Please ask the community on Stack Overflow

Comments

@Angelk90
Copy link
Contributor

  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

In the example page of the documentation: Link

Trying the first field, the one named "Country", that is the first, I select any element.

Then I put myself on the same input field, where the previously selected text appears and I delete character by character, which is in the input field.

When I deleted every single character that is in the input field, I exit the input field, so there is no focus on the input field, at that moment the input field that was empty returns with the text that was deleted by me before .

Expected Behavior 🤔

  1. I expect that when I cancel, the text does not reappear.
  2. When I also delete a single character that is in the input field, it must no longer refer to that selected obj.
@oliviertassinari oliviertassinari added component: Autocomplete support: Stack Overflow Please ask the community on Stack Overflow labels Sep 12, 2019
@support
Copy link

support bot commented Sep 12, 2019

👋 Thanks for using Material-UI!

We use the issue tracker exclusively for bug reports and feature requests, however,
this issue appears to be a support request or question. Please ask on StackOverflow where the
community will do their best to help. There is a "material-ui" tag that you can use to tag your
question.

If you would like to link from here to your question on SO, it will help others find it.
If your issues is confirmed as a bug, you are welcome to reopen the issue using the issue template.

@support support bot closed this as completed Sep 12, 2019
@oliviertassinari
Copy link
Member

@Angelk90 Thanks for the report, this is likely a question with Downshift, we will soon remove these demo with #13863

@Angelk90
Copy link
Contributor Author

@oliviertassinari : The problem is not the demo, the problem happens even if you follow the example of the code to make it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: autocomplete This is the name of the generic UI component, not the React module! support: Stack Overflow Please ask the community on Stack Overflow
Projects
None yet
Development

No branches or pull requests

2 participants