Hello, Im new with Radzen components but i try to make the autocomplete work.
I have some console error in the browser which show me to the radzen js.
Uncaught TypeError: Cannot read properties of undefined (reading 'instance')
this error show me the line 902:
currentPopup.instance = lastPopup.instance;
I have this basic code to test it. I tried to make it based on the documentation:
<RadzenAutoComplete Data="testItems"
TextProperty="Name"
ValueProperty="Id"
Style="width:100%">
</RadzenAutoComplete>
@code {
[Parameter] public int? Id { get; set; }
private List<Item> testItems = new List<Item>();
protected override void OnInitialized()
{
base.OnInitialized();
testItems = new List<Item>
{
new Item { Id = 1, Name = "Test Item 1" },
new Item { Id = 2, Name = "Test Item 2" }
};
}
}