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

Cannot delete leading character in AutocompleteInput #7935

Closed
ZachSelindh opened this issue Jul 6, 2022 · 3 comments · Fixed by #7954
Closed

Cannot delete leading character in AutocompleteInput #7935

ZachSelindh opened this issue Jul 6, 2022 · 3 comments · Fixed by #7954
Assignees
Labels

Comments

@ZachSelindh
Copy link
Contributor

What you were expecting:
Proper text input handling for AutocompleteInput.

What happened instead:
The leading character cannot be deleted, you must shift in front of the leading character to make changes.

Steps to reproduce:
Insert text into AutocompleteInput and attempt to remove it all with the delete key.

Related code:
https://codesandbox.io/s/frosty-moon-97b3ol

Open the Post create form and attempt to add/delete text in the Authors input

Environment

  • React-admin version: 4.2.2
  • Last version that did not exhibit the issue (if applicable): 4.2.1
  • React version: 17
  • Browser: Chrome
@antoinefricker
Copy link
Contributor

Reproduced! Thanks for reporting this.

@cduran-seeri
Copy link

I have the same issue in many filters +1

@ronfogel
Copy link

Not a big issue as you can select all and override the text and it works + move the cursor before the character and add text but it's super annoying!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants