Skip to content

Commit

Permalink
Added autocapitalize to input fields (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
VividhPandey003 authored Oct 10, 2023
1 parent ba59718 commit 1c69430
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/lineup/LineupNewSpot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ function createSpot(e: Event) {
@focus="focused = true"
@blur="focused = false"
:placeholder="focused ? 'Enter player name' : '+ Add A Player'"
autocapitalize="words"
/>

<div class="shrink-0 px-1 py-2">
Expand Down
1 change: 1 addition & 0 deletions components/lineup/LineupSpot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
/>

<LineupPositionButton
Expand Down
1 change: 1 addition & 0 deletions pages/lineup/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ useSortable(sortableContainer, spots, {
class="grow inline-block overflow-x-hidden text-ellipsis bg-transparent focus:shadow rounded px-1"
placeholder="Team Name"
:disabled="teamStore.isLocked"
autocapitalize="words"
/>

<SettingsLockButton />
Expand Down

0 comments on commit 1c69430

Please sign in to comment.