Hi! I think the AutoComplete still not perfect. On the demo page when the user selects an item via Enter the dropdown box disapear, but with version 2.15.18 in real application it does not close with Enter, just only when the user use mouse click. First I thought that my application is buggy somewhere but I created a plain new blazor wasm project with radzen and the same thing is happening with the example code like this:
@page "/"
<RadzenAutoComplete Placeholder="Select..." Data="@customers" TextProperty="CompanyName" Change="@(args => Change(args, "AutoComplete with placeholder"))"/>
@code {
IList<Customer> customers = new List<Customer>();
protected override void OnInitialized()
{
customers.Add(new Customer {CompanyName="asd"});
customers.Add(new Customer {CompanyName="wasd"});
customers.Add(new Customer {CompanyName="lelz"});
}
Dictionary<DateTime, string> events = new Dictionary<DateTime, string>();
void Change(object value, string name)
{
events.Add(DateTime.Now, $"{name} value changed to {value}");
StateHasChanged();
}
public class Customer
{
public string CompanyName { get; set; }
}
}
Am I doing something wrong or this thing is not working properly?