Skip to content

Commit 2c2a101

Browse files
committed
directly return the value if its a string in DmnComboBox
1 parent 5d6a0e5 commit 2c2a101

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

RazorUI/Input/DmnComboBox.razor.cs

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public object GetPropertyValue(object obj, string propertyName)
5959
}
6060

6161
private string GetTextValue(object obj) {
62+
if(obj is string) return obj as string;
6263
return GetPropertyValue(obj, TextFieldName).ToString();
6364
}
6465

0 commit comments

Comments
 (0)