AutoComplete clears text automatically when another control is set
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:
- Create a form with AutoComplete and other fields
- Search for something that does not exist
- Type data in a different field
- 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
@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.
Just adding that I'd love to see this feature as well
As an alternative - the AutoComplete component in BootstrapBlazor supports free text:
https://www.blazor.zone/auto-complete