From 51ce2d271aaf8d35b4728f689c4d725eff9ccd99 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sat, 3 Feb 2024 09:01:43 -0800
Subject: feat(inputtemplate): preserve case

---
 src/lib/Tools/InputTemplate.svelte | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'src/lib/Tools/InputTemplate.svelte')

diff --git a/src/lib/Tools/InputTemplate.svelte b/src/lib/Tools/InputTemplate.svelte
index cfccdc75..c81c12d5 100644
--- a/src/lib/Tools/InputTemplate.svelte
+++ b/src/lib/Tools/InputTemplate.svelte
@@ -11,7 +11,10 @@
 	export let onSubmit = () => {
 		return;
 	};
-	export let prompt = `Enter a ${field.toLowerCase()} to search for to continue.`;
+	export let preserveCase = false;
+	export let prompt = `Enter a ${
+		preserveCase ? field : field.toLowerCase()
+	} to search for to continue.`;
 	export let hint: string | undefined = undefined;
 
 	let input = '';
-- 
cgit v1.2.3

