[PR #596] RadzenAutoComplete with IEnumerable of strings #2253

Open
opened 2026-01-29 18:17:57 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/radzenhq/radzen-blazor/pull/596

State: closed
Merged: Yes


PropertyAccess.GetItemOrValueFromProperty correctly supports lists of primitive values (not classes) by not specifying the TextProperty parameter.

public static object GetItemOrValueFromProperty(object item, string property)
....
if (Convert.GetTypeCode(item) != TypeCode.Object || string.IsNullOrEmpty(property))
{
return item;
}

The RadzenAutoComplete component does not filter primitive object enumerators. The predicate filter of the query has been modified to also support the query on primitive values such as a list of strings

**Original Pull Request:** https://github.com/radzenhq/radzen-blazor/pull/596 **State:** closed **Merged:** Yes --- PropertyAccess.GetItemOrValueFromProperty correctly supports lists of primitive values (not classes) by not specifying the TextProperty parameter. > public static object GetItemOrValueFromProperty(object item, string property) > .... > if (Convert.GetTypeCode(item) != TypeCode.Object || **string.IsNullOrEmpty(property)**) > { > return item; > } The RadzenAutoComplete component does not filter primitive object enumerators. The predicate filter of the query has been modified to also support the query on primitive values such as a list of strings
claunia added the pull-request label 2026-01-29 18:17:57 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2253