From 197d5ca1f230fb665b2fa58dcadd57a11240b247 Mon Sep 17 00:00:00 2001 From: sbwalker Date: Mon, 26 Aug 2024 10:47:18 -0400 Subject: [PATCH] change parameter name to AllowTextInput for clarity --- Oqtane.Client/Themes/Controls/Theme/Search.razor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Oqtane.Client/Themes/Controls/Theme/Search.razor b/Oqtane.Client/Themes/Controls/Theme/Search.razor index b6816a90..4b04dafe 100644 --- a/Oqtane.Client/Themes/Controls/Theme/Search.razor +++ b/Oqtane.Client/Themes/Controls/Theme/Search.razor @@ -8,7 +8,7 @@ @if (_searchResultsPage != null) { - @if (AllowInput) + @if (AllowTextInput) {
@@ -43,7 +43,7 @@ public string CssClass { get; set; } [Parameter] - public bool AllowInput { get; set; } = true; // setting to false will display only the search icon button - not the textbox + public bool AllowTextInput { get; set; } = true; // setting to false will display only the search icon button - not the textbox [Parameter] public string SearchResultPagePath { get; set; } = "search"; // setting to "" will disable search