diff --git a/COMET.Web.Common/Components/CardView/CardField.cs b/COMET.Web.Common/Components/CardView/CardField.cs index f2cba9f6..48de25d7 100644 --- a/COMET.Web.Common/Components/CardView/CardField.cs +++ b/COMET.Web.Common/Components/CardView/CardField.cs @@ -110,7 +110,7 @@ protected override void BuildRenderTree(RenderTreeBuilder builder) if (this.AllowSearch && !string.IsNullOrWhiteSpace(value) && !string.IsNullOrWhiteSpace(this.SearchTerm)) { var separatorPattern = $"({this.SearchTerm})"; - var result = Regex.Split(value, separatorPattern, RegexOptions.IgnoreCase); + var result = Regex.Split(value, separatorPattern, RegexOptions.IgnoreCase, TimeSpan.FromSeconds(30)); var elementCounter = 0; foreach (var element in result)