From 1c694303e6ab99a1f82147bdd2ccf6e4641ba7c2 Mon Sep 17 00:00:00 2001 From: Vividh Pandey <91251535+VividhPandey003@users.noreply.github.com> Date: Tue, 10 Oct 2023 21:52:09 +0530 Subject: [PATCH] Added autocapitalize to input fields (#23) --- components/lineup/LineupNewSpot.vue | 1 + components/lineup/LineupSpot.vue | 1 + pages/lineup/index.vue | 1 + 3 files changed, 3 insertions(+) diff --git a/components/lineup/LineupNewSpot.vue b/components/lineup/LineupNewSpot.vue index cb64ff5..f808881 100644 --- a/components/lineup/LineupNewSpot.vue +++ b/components/lineup/LineupNewSpot.vue @@ -47,6 +47,7 @@ function createSpot(e: Event) { @focus="focused = true" @blur="focused = false" :placeholder="focused ? 'Enter player name' : '+ Add A Player'" + autocapitalize="words" />
diff --git a/components/lineup/LineupSpot.vue b/components/lineup/LineupSpot.vue index 423c619..b151298 100644 --- a/components/lineup/LineupSpot.vue +++ b/components/lineup/LineupSpot.vue @@ -50,6 +50,7 @@ onKeyStroke("Backspace", (e) => { class="grow inline-block overflow-x-hidden text-ellipsis bg-transparent focus:shadow rounded placeholder-gray-500 dark:placeholder-gray-500 px-1" placeholder="Enter player name" :disabled="teamStore.isLocked" + autocapitalize="words" />