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 clears text automatically when another control is set #977

Open
kevon-vems opened this issue Dec 12, 2024 · 1 comment
Open

Comments

@kevon-vems
Copy link

NOTE: We do not look at .zip attachments for issue investigation.

Describe the bug
If a user searches using AutoComplete, then puts text into a different textbox, the autocomplete clears.

To Reproduce
Steps to reproduce the behavior:

  1. Create a form with AutoComplete and other fields
  2. Search for something that does not exist
  3. Type data in a different field
  4. AutoComplete text is cleared

Expected behavior
AutoComplete data stays in place and is accessible in code-behind

Screenshots
https://github.com/user-attachments/assets/3acb5499-75aa-44f6-9dd3-f427a6d0a852

Versions (please complete the following information):

  • .NET Version: .NET 9
  • BlazorBootstrap: 3.1.0
  • Server
  • Blazor Interactive Render Mode: Server
  • Blazor Interactivity Location: Global

Desktop (please complete the following information):

  • Win 11
  • Browser chrome
@gvreddy04
Copy link
Contributor

@kevon-vems Thank you for using BlazorBootstrap. Free text is not supported in the AutoComplete component. Users can search for something and must select an option from the list; otherwise, it will be empty. We do not have any plans to support this feature at this moment, but we may consider it in the future based on community feedback.

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

No branches or pull requests

2 participants